Context:
I am installing the packages from a cloned repo with pip.
What I was doing when I ran into problems:
python3 -m pip install --proxy "http://internal.url:8080" --upgrade pip
//Update pip and set proxy server
pip install -r requirements.txt
// install packages
Result:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F6DF6CB7C0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/azure-mgmt-resource/
ERROR: Could not find a version that satisfies the requirement azure-mgmt-resource (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for azure-mgmt-resource (from -r requirements.txt (line 1))
My System: - Windows 10 - Python 3.8.3rc1 - Pip 20.1
I've updated pip:
Some S.O. answers say that the issue is a need to update pip. I've tried this answer, which called for:
curl https://bootstrap.pypa.io/get-pip.py | python
The result was:
C:\PythonApps\carrieralloc-poc>curl https://bootstrap.pypa.io/get-pip.py | python
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:55 --:--:-- 0curl: (7) Failed to connect to bootstrap.pypa.io port 443: Connection refused
"connection refused" is a theme here.
This blog suggested that perhaps my ip address was blacklisted (doubtful as I'm using a corporate proxy)
But I tried his suggestion and ran curl https://pypi.org
The results: curl: (7) Failed to connect to pypi.org port 443: Connection refused
I got to wondering if my proxy is set correctly:
I can't find a command for checking my proxy.
Any pointers? Thank you!