ikvk / imap_tools

Work with email by IMAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python pip raising NewConnectionError: Not possible to install?

TravelTrader opened this issue · comments

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)

Find here:
https://stackoverflow.com/questions/52815784/python-pip-raising-newconnectionerror-while-installing-libraries

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