Ubuntu – Problem in installing pip in Ubuntu 16.04

16.04pippythonpython3

Actually, I wanted to install pip because I needed to install pycurl which was needed for using Wfuzz. The main fact is that I need to install pip.

I remembered that I had already installed pip once but since I was getting some kind of weird errors, I just removed pip using

sudo apt-get remove python-pip

But now, when I am using

sudo apt-get install python-pip

The pip V 8.1 is getting installed, but when I am trying to use it, the error shows.

bash: /home/coder/.local/bin/pip: No such file or directory

I already went through this: Problem installing pip: pip command not found

But there are already 3 pip files at that location, named pip, pip2 and pip2.7

So what should I do now? Any help will be much appreciated as I really need to use the tool wfuzz for other purposes.

OS: Ubuntu 16.04

Best Answer

Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with

sudo apt-get purge python-pip

followed by

sudo apt-get update
sudo apt-get install python-pip

Purge removes configuration files as well as uninstalling the package.

Related Question