Skip to content

Instantly share code, notes, and snippets.

@magickatt
Last active April 18, 2018 16:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save magickatt/8bfeca41444b5c8e74ad0328ad6e9582 to your computer and use it in GitHub Desktop.
Safely upgrade PIP in CentOS/RHEL 6
# This will upgrade PIP 7.1 to PIP 10.x, which will break PIP
#sudo pip install --upgrade pip
# This is the last version of PIP that will work with CentOS/RHEL 6
sudo pip install pip==9.0.3
# Installing collected packages: pip
# Found existing installation: pip 7.1.0
# Uninstalling pip-7.1.0:
# Successfully uninstalled pip-7.1.0
# Successfully installed pip-9.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment