I originally installed
apt and made the mistake of installing packages with
sudo instead of as a user installation. I was getting a myriad of errors with tracebacks and import errors, so I am trying to completely remove pip from my system and start fresh.
However, even after uninstalling all my pip packages and a
apt purge python3-pip,
pip3.6still show up in my tab-complete suggestions when I hit tab (on a new shell, after a restart).
- I have found a few python stub scripts in
These scripts are only ~10 lines each and just have imports for pip. However, when I moved these files out of this directory and reinstalled with
apt install python3-pip, these files are not remade during installation.
I am confused what's going on, and what kind of hierarchy pip uses; it all seems a bit cryptic to me. What is the purpose of
~/.local/bin/ and why does
pip3 populate it with scripts, but only sometimes?
What can I do to ensure that
pip3, along with ANY changes made after I installed/used it, are removed/reverted?