Skip to main content

Posts

Showing posts with the label proxy

How to use proxy setting with pip to install packages?

If you see error messages like below when you try to install packages in a restricted environment where it is mandated to use proxy settings to download packages - "Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError( , 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/wxpython/ " we need to supply proxy server setting to pip while installing the python packages , Example sudo pip install --proxy=https://proxy.example.com:port -U wxPython