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

[Feature Request] Suggest upgrading Python in error message when installing extra #8

Open
ahwang16 opened this issue Sep 13, 2023 · 2 comments

Comments

@ahwang16
Copy link
Collaborator

I ran into a little bit of trouble trying to run pip install kani[openai] because I was running Python 3.7 instead of 3.10+. I received the error message "kani 0.0.0 does not provide the extra 'openai'" which wasn't very helpful. If possible, reminding the user that Kani requires Python 3.10+ in this message might be helpful for future installations.

@liamdugan
Copy link
Collaborator

Good idea. I'll look into this

@zhudotexe
Copy link
Owner

This particular error message was because of a test deploy to pypi without any extras that didn't specify any version constraints; I deleted v0.0.0 and installs on unsupported Python versions now just look like this:

(venv3.8) $ pip install kani
ERROR: Could not find a version that satisfies the requirement kani (from versions: none)
ERROR: No matching distribution found for kani

I don't know if it's possible to have pypi specify that you need to update your Python version in the error.

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

3 participants