How To Downgrade PIP After Upgrade on Amazon Linux

I tried upgrading pip when prompted to do so:
sudo pip install --upgrade pip
This worked, but removed the system install in /usr/bin/pip
and replaced it with /usr/local/bin/pip
– NOT GOOD!
The solution is as follows:
1 2 3 |
/usr/local/bin/pip uninstall pip yum remove python27-pip yum install python27-pip |
Leave Your Comment
All fields marked with "*" are required.