Closed robinsg closed 11 months ago
I have found the issue and sorted this.
Although I'm specifying the proxy server details on the pip command it appears that it isn't being used for all pip and build operations.
I created a pip.conf file in ~/.pip/ and specified the proxy server details in the [global] section.
I then ran my pip command again without the --proxy directive and this ran without the issue on setup tools.
Glad you were able to figure that out. Not something that is very obvious!
I've created an issue to document this for others.
V7R3 python39.ppc64 3.9.11.-1 python39.paramiko 2.7.2-1 python39-pip 21.12-1 python39.setuptools 57.0.0-1 python39.wheel 0.36.2-1
I have created a venv and activated it.
# pip install --proxy http://myproxy,local:8080 netmiko==4.2.0
It collects the necessary dependencies: ntc-templates 4.0.1 paramiko 3.3.1 pyserial 3.5 PyYAML5.3pip is clearly getting out to pypi.org via the proxy as it is able to download and install some of the dependencies.
setuptools is installed in my venv.
Any suggestions on how to get around this issues?