-
Notifications
You must be signed in to change notification settings - Fork 981
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
Cannot install pip packages #3826
Comments
Now that command worked, but I hope stacktrace will be useful for you. |
Hello @Tonkonozhenko! Was this error reproducible more than once? Occasional timeouts will happen. If this was reproducible for any duration of time we may need to do some tuning of our CDN configuration. |
Hi @ewdurbin |
@ewdurbin |
@Tonkonozhenko Are you or your colleague still experiencing this? |
Hi @di
|
@Tonkonozhenko This seems a bit different from your original error. What's the output of |
@di now it works. On jenkins I get messages about different packages each time. Today I got
Most often I get messages about |
Since mid-April migration to the CDN, we see these errors quite often, probably in 1-3% of builds (which is a huge number). There is nothing special about the package name, the seem to be random and apparently pip does not attempt to retry, it just fail with the conclusion that there are no packages at all. This failed even with not pinned or open ranges, looks like an index requires returns nothing or an error is treated as a 404. Since two hours ago I eneabled |
I already started to get failure results, see https://gist.github.com/ssbarnea/78df2a80137cca04ca72872b1d14498f as the last failure with extra logging. I counted at least 104 build failures caused by this since the CDN migration. Read value could be much more as that query reported only failures matching No matching distribution found for text. |
@ssbarnea Can you provide the command which produced that output? I would expect there to be more output from pip about trying to install the |
@di I updated the gist with a more detailed one. What was the original install command is irrelevant as the is no way to reproduce the problem in a consistent way. Talke at look at https://gist.github.com/ssbarnea/78df2a80137cca04ca72872b1d14498f#file-pypi-pip-failure-log-L34 My impression is that this explains what happens:
Mainly pip decides that there is no package when it does receive a 304 response. |
See also: pypa/pip#5345 |
This comment has been minimized.
This comment has been minimized.
you can try.
|
this one works !!! |
e.g. pip install --default-timeout=1000 <package_name> pip install --default-timeout=1000 scipy pip install --default-timeout=1000 widgetsnbextension |
pip install --default-timeout=1000 future |
If anyone is still experiencing this, please file a new Network Access issue. |
Hi
I get next error when trying to install package:
The text was updated successfully, but these errors were encountered: