-
Notifications
You must be signed in to change notification settings - Fork 45
"Could not find a version that satisfies the requirement..." #177
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
Comments
According to the linked page, version 3.3.2 of |
Okay, so the pip error message is incorrect? It is able to find |
I always read that error message with the implicit context of "couldn't find a version available (for your platform and python version)." I think it might be a lot to list all the decisions that go into choosing what versions are available. I believe the logic can be even more complicated than just platform/version/python version when you take into account options specified and things like conflicting requirements in transitive dependencies. It's also not clear to me that the part of pip that raises this error message even has all the context required to list the reasons. Might be worth considering tweaking the error message to make it clear that this is a filtered list, though. Possibly the filtering can be exposed in an "extra verbose" mode if this is a significant problem people are having. |
That makes sense -- there's a lot more implicit state there than I realized. Thanks for the feedback, and I hope this issue proves useful to future users! |
This is in fact the case. There's some work that needs to be done to make it possible for pip to print a better error messages here. More generally, I think the "No matching distribution" message isn't very helpful in most cases for users and improving this is something worth looking into (pypa/pip#5003 is exactly this issue, pypa/pip#3642 is another example). Alas, I haven't found the time to investigate beyond looking into this to realize that it's harder than a single evening of work. :( |
Please build and install the PortAudio Python bindings first. |
For i think it was a misleading message 'cause it shows in most packages that i'm trying to install so my pip is not usable so far or damaged note that it was working pretty well , so what worked for me is downgrading it by "pip uninstall pip" and IT WORKS! better than before even, note that i haven't done any upgrade or changing it's version before it get's damaged. |
I'm trying to install packages from pip, but some versions are not available. For example, aiohttp is listed as being on version 3.3.2, but running
pip install aiohttp
installs version 2.3.10.This is on Ubuntu 16.04 on WSL in a Python 3.5 virtualenv:
(lin) xobs@Cuboid:/proj$ python -V Python 3.5.2 (lin) xobs@Cuboid:/proj$ pip -V pip 18.0 from /proj/lin/lib/python3.5/site-packages/pip (python 3.5) (lin) xobs@Cuboid:proj$ pip install aiohttp==3.3.2 Collecting aiohttp==3.3.2 Could not find a version that satisfies the requirement aiohttp==3.3.2 (from versions: 0.1, 0.2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id:/proj$
The text was updated successfully, but these errors were encountered: