Replies: 1 comment
|
poetry show ray can show the package from the lockfile even when it is not installed in the selected environment from /app try these checks poetry env info --path poetry run python -c "import sys; print(sys.executable)" poetry run python -c "import ray; print(ray.__file__)" the last command either prints the actual package location or confirms that it cannot be imported there if the import fails run poetry install in that same project directory and check its output for the ray installation if importing works but the ray command is missing check the bin directory of the environment reported by poetry env info |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I can't find where a poetry installed
ray. Any. pointers appreciated!I'm using Python 3.10. I installed poetry into a Docker image starting from
nvidia/cuda:12.3.1-base-ubuntu22.04with Python/Poetry installed as follows:I'm doing everything as root (I know). Then I installed ray 2.9.1. My pyproject.toml lists:
ray = {version = "2.9.1", extras = ["data", "default", "serve", "train"]}When I run
poetry show rayit prints out:But
poetry run rayprintsCommand not found: rayand I've gone spelunking through all the cache/virtualenv directories I can find and can't find ray anywhere. I found the other installed libraries in/root/.cache/pypoetry/virtualenvs/flock-9TtSrW0h-py3.10/lib/python3.10/site-packagesbut not ray. Any ideas where ray might have been installed?Thank you!
All reactions