Upgrading pip2 destroys pip3
When installing a package I saw the notice that pip had an upgrade available. (Both 2.7.15 & 3.whateveriscurrent are installed) So I followed the instructions...
pip2 install --upgrade pip
Then when I tried doing this for pip3 afterward it was suddenly gone. Trying the python3 -m ensurepipwhatever command reports that it is installed, yet pip3 is missing, as is pip-3.x. Also, pip (no numeric suffix) --version reports that it's tied to python-2.7, so it's not just renamed.
The only way to fix this is to rm -rf /usr/lib/python* and reinstall them from source, which downgrades pip2 & pip3 to 9.x. Running pip3 install --upgrade pip FIRST will work. But, once again upgrading pip2 completely removes pip3.
Any ideas how to fix this?
|