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 --trusted-host --trusted-host 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