I tried upgrading pip3 using
su -c 'pip3 install' --upgrade pip' because I got errors and it failed when trying to upgrade it as a normal user.
This removed the pre-installed pip from
/usr/bin and dumped it in
/tmp, replacing it with a system wide installation of pip which is only accessible by root. I haven't tried to uninstall this new pip because I suspect it would lead to more problems.
Since I still have the old pre-installed pip in
/tmp, how do I get back the pre-installed pip using this executable that is still in /tmp?
Location of pip in /tmp:
/tmp/pip-ufkfr3th-uninstall └── usr └── bin └── pip