Python Forum

Full Version: Upgrading pip behind a firewall
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings!
I'm having a problem upgrading pip from behind a firewall.
I usually have no problems installing modules:
pip --proxy http://proxy-chain.something.com:111/ pyodbc
but having a problem with the 'pip --upgrade'
I tried and tried and nothing works:
pip --proxy http://proxy-chain.something.com:111/ --upgrade pip
pip --proxy http://proxy-chain.something.com:111/ --upgrade
pip upgrade --proxy http://proxy-chain.something.com:111/ pip
pip --upgrade --proxy http://proxy-chain.something.com:111/ pip
Any help is appreciated!
Thank you!
https://bootstrap.pypa.io/get-pip.py

Does pasting the content of the above page into a file called get-pip.py on your system and then running the below command work for you. ( execute the below from the folder in which the file is present :) )

python get-pip.py

Reference - https://pip.pypa.io/en/stable/installation/

If the above doesn't work, I think I remember running into the same problem and then somehow getting it upgraded/installed in a python virtual env.

You might want to try the above in a python virtual environment too

Hope the above helps .. 🙂
Thank you!