Description
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 got Connection 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
- Set proxy settings.
- Unset proxy settings from bash environment variable.
- Verify no pip.ini or pip.conf files exist.
- Try
sudo pip3 --proxy "" install <any package>
from Bash terminal - Error occurs which prevents package installation.
Output
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
- I agree to follow the PSF Code of Conduct.