Python Forum
Upgrading pip behind a firewall
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrading pip behind a firewall
#1
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!
Reply
#2
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 .. 🙂
tester_V likes this post
Reply
#3
Thank you!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020