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

pip install not working with Python 3.12 #11

Closed
ChPfisterer opened this issue Jan 3, 2024 · 3 comments
Closed

pip install not working with Python 3.12 #11

ChPfisterer opened this issue Jan 3, 2024 · 3 comments

Comments

@ChPfisterer
Copy link

Hi Ben, I encountered a problem using pip install to install requirements with Python 3.12.

Using cached lanarky-0.7.16-py3-none-any.whl.metadata (6.7 kB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 0.8.0 Requires-Python >=3.9,<3.12; 0.8.1 Requires-Python >=3.9,<3.12; 0.8.2 Requires-Python >=3.9,<3.12; 0.8.3 Requires-Python >=3.9,<3.12; 0.8.4 **Requires-Python >=3.9,<3.12**
ERROR: Could not find a version that satisfies the requirement ray[serve]>=2.6.3 (from versions: none)
ERROR: No matching distribution found for ray[serve]>=2.6.3

With Python 3.11, the installation of requirements works fine.

@benman1
Copy link
Owner

benman1 commented Jan 3, 2024

@ChPfisterer Hey, that's a good one! I think (I hope) I recommend Python 3.10 in the book (no particular reason), but I should probably highlight in the README that both Python 3.10 and 3.11 can be used. Thanks!

@ChPfisterer
Copy link
Author

On page 66 (yes, I have a printed copy, think I am old ;-)), you write: "Please make sure you have Python version 3.10 or higher installed." No worries; we are developers who should be able to handle these messages. However, a short note in the README would be great. With that said, it's a great book so far.
I'm looking forward to the more advanced demos.

@benman1
Copy link
Owner

benman1 commented Jan 3, 2024

Thanks a lot, @ChPfisterer! That's very helpful. I've added this to the README.

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