-
Notifications
You must be signed in to change notification settings - Fork 3k
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 does not respect proxy when downloading "wheel" as a dependency #7805
Comments
More specifically, pip does not correctly propagate options to the subprocess when installing PEP 517 dependencies. Could you help test whether this behaviour still happens on the latest version? |
I can if I’m able. How do I upgrade pip and will it work with python 3.5? |
You can test it in a virtual environment, something like
|
I tried that out and got the same error |
Another pip package where I encounter this same problem is python-augeas when dependency pip package cffi is not installed. Experienced in CentOS pip ver 8.1.2 (see my duplicate isssue saltstack/salt#57957 ) but even tried bumping pip to latest 20.1.1 and error persists.
|
Any solution for this problem ? i'm facing this issue while installing gdown transitive dependencies |
Hi, python 3.10.4 here. Same issue, how can I overcome this ? :
OK, I found a trick to overcome the issue. Like explained in the docs, I created the directory and file
|
The solution from @aschor solved the problem for me! |
Just to update that with python 3.9 and the latest version of PIP the issue persists. I have used the environment variables |
Environment
Platform: Xilinx Ultrascale+
Description
When using --proxy, pip normally downloads any required dependencies for the requested package without issue. But there is an edge condition when the dependency is "wheel". In this case, the attempt to download errors out because pip is not going through the proxy. The workaround is to install wheel separately first. This was observed when trying to download and build scipy 1.4.1 from source.
Expected behavior
pip downloads wheel through the proxy.
How to Reproduce
It's ok if the scipy installation errors out because you don't have the compilers and required libraries setup. The error described here occurs before you reach that point.
Output
The text was updated successfully, but these errors were encountered: