How to configure pip3 to ignore proxy settings or do not use proxy settings? #12479
Closed
1 task done
Labels
C: proxy
Dealing with proxies and networking
resolution: duplicate
Duplicate of an existing issue/PR
type: bug
A confirmed bug or unintended behavior
Description
Here is my query. I am using Python 3.8.10. During my laptop setup long time back, I was using proxy settings to work with pip3. I forgot where I have set this. Recently we moved to no proxy. However I am yet to figure where pip3 is taking proxy details from. Bash environment variables for proxy are unset. When I
sudo pip3 --proxy "" install conan==1.60.0
, I gotConnection timeout error
. Error excerpt is pasted under output section. I also tried an option "--no-proxy". But it doesn't work as well. Could someone please help me?Expected behavior
Pip3 shouldn't work behind proxy.
pip version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
Python version
python 3.8.10
OS
Ubuntu 20.04 behind WSL (WSL version: 1.2.5.0)
How to Reproduce
sudo pip3 --proxy "" install <any package>
from Bash terminalOutput
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e3bf4ec40>, 'Connection to xx.xx.xx.xx timed out. (connect timeout=15)')': /simple/conan/
Code of Conduct
The text was updated successfully, but these errors were encountered: