Last active
November 23, 2025 03:14
-
-
Save ryankert01/6175e8a6140934c794e2acec1bb955c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| conda remove --all -n ray-python -y | |
| conda create -c conda-forge python=3.10 -n ray-python -y | |
| conda activate ray-python | |
| cd ~/github/ray | |
| # For example, for Python 3.10: | |
| pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl | |
| # This links all folders except "_private" and "dashboard" without user prompt. | |
| python python/ray/setup-dev.py -y --skip _private dashboard | |
| # Install test dep | |
| pip install -c python/requirements_compiled.txt -r python/requirements/test-requirements.txt | |
| # Ran simple test | |
| # Directly calling `pytest -v ...` may lose import paths. | |
| python -m pytest -v -s python/ray/tests/test_basic.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| conda remove --all -n ray -y | |
| conda create -c conda-forge python=3.10 -n ray -y | |
| conda activate ray | |
| cd ~/github/ray | |
| cd python/ray/dashboard/client | |
| npm ci | |
| npm run build | |
| cd - | |
| # Install Ray. | |
| cd python/ | |
| # Install required dependencies. | |
| pip install -r requirements.txt | |
| # You may need to set the following two env vars if you have a macOS ARM64(M1) platform. | |
| # See https://github.com/grpc/grpc/issues/25082 for more details. | |
| # export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 | |
| # export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 | |
| pip install -e . --verbose # Add --user if you see a permission denied error. | |
| # Install test reqirements | |
| cd ~/github/ray | |
| pip install -c python/requirements_compiled.txt -r python/requirements/test-requirements.txt | |
| # Install pre-commit hook | |
| pip install pre-commit | |
| pre-commit install | |
| # Test basic | |
| python -m pytest -v -s python/ray/tests/test_basic.py | |
| # Test namespace expressions | |
| python -m pytest -v -s python/ray/data/tests/test_namespace_expressions.py |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get an error @
pip install -c python/requirements_compiled.txt -r python/requirements/test-requirements.txt