Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required version of ray not available on newer versions of Python #40

Open
alex-bellon opened this issue Aug 5, 2024 · 1 comment
Open

Comments

@alex-bellon
Copy link

I'm using Python 3.12, and when setting up the library, I ran into issues installing the dependencies because the required versions (in my case, version 2.4.0 of ray) are not available for Python 3.12:

→ pip install -e . --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/alex/git/verse_test
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of verse to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement ray~=2.4.0 (from verse) (from versions: 2.31.0, 2.32.0rc0, 2.32.0, 2.33.0, 2.34.0)
ERROR: No matching distribution found for ray~=2.4.0

Since the install failed on ray, I'm not sure if any of the other dependencies run into this issue.

To solve this I used pyenv to switch to Python 3.8, but this might cause an issue for other people and might be worth noting in the README since it says anything 3.8+ should work.

@lyg1597
Copy link
Contributor

lyg1597 commented Aug 6, 2024

Thanks for pointing this out! We have never tested the tool with Python 3.12. We will update setup script for properly install the tool on Python 3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants