Python pip raising NewConnectionError: Not possible to install?
TravelTrader opened this issue · comments
TravelTrader commented
When using pip3 install imap-tools
I get several times:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb12292bf70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/imap-tools/
What could be the reason for those errors?
Other modules can be installed without problems.
(python 3.10.x)
Vladimir Kaukin commented
variants:
- nameserver 8.8.8.8 to the /etc/resolv.conf file
- C:\Users\Dell>pip install --proxy="10.50.225.80:3128" numpy
- systemctl restart NetworkManager.service + sudo service docker restart