python: installing numpy via pip behind corporate proxy server

  http-proxy, installation, numpy, pip, python

I’m trying to install numpy, using:

pip install --proxy=https://user:[email protected]:port --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org numpy

getting this error:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/numpy/

ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy

Not sure what to do next…

Source: Python Questions

LEAVE A COMMENT