-
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
About pip 20.3+ proxy setting problem #9563
Comments
I am also experiencing this issue. Proxy option was working on pip-18.0 and quit working immediately after upgrading to pip-21.0.1. I am able to work around the issue by setting the HTTPS_PROXY environment variable. Thanks @schwarzichet! |
I can confirm problems with Looks to me like the situation is bit more subtle: I can successfully install several packages (e.g. pip, setuptools, jmespath, ...) behind our corporate proxy using However certain packages, namely atlassian-python-api in my case, trigger a mysterious Note that I already upgraded setuptools to 53.0.0 in this venv before trying to install said package so this doesn't make sense in the 1st place. The mysterious setuptools dependency leads to this command invocation (
As you can see, neither Workaround (as (partly) mentioned in the ticket comments): Use So here's the full fun (slightly edited for brevity):
Best regards, Holger |
So this is #6018. Closing as a duplicate then. Thanks for the investigation! Hopefully someone affected would be willing to step up and work on this 🙂 |
@schwarzichet : thank you - you made my day. It took me days until I found this post being the right one for this issue with pip. |
pip version
21.0.1
Python version
3.9.1
OS
Windows 10
I have known there exists some changes in pip 20.3+ proxy usage. I have read the #9216 and some related issues. I have the same problem with this comment and I can solve my problem by setting a
HTTPS_PROXY="http://proxy.server:port"
environment variable.However, I wonder whether there exists a way to write this config in the pip config file.
I tried to write these in file but they all cannot work.
also, I cannot make it by using the
--proxy
command-line option. That's kind of wired.I wonder the config file way, because I will use the proxy every time.
The text was updated successfully, but these errors were encountered: