I haven't been able to find a question / answer that satisfied my needs, but I am sorry if this will be a duplicate question, if so, please let me know.
I am using Python (2.7) on a debian server and when I installed pip I experienced weird behaviour when I did an uninstall of and installed again from another package manager (guess apt uses the pypa.io release as well in the end).
What I Have Done
1. Downloading pip from pypa directly and installing with python
me:~$ curl -o get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py me:~$ python get-pip.py
2. Uninstalling pip
me:~$ pip uninstall pip
3. Installing pip using apt
me:~$ sudo apt-get install python-pip
When I now run pip I get the following error:
me:~$ pip bash: /home/local/me/.local/bin/pip: No such file or directory
When I run the command:
me:~$ which -a pip
I can see there seems to be a path problem, but I fail to see how to fix it, could anyone point me to a solution and could this just be a priority problem in the $PATH variable?