Shaharyar
Shaharyar

Reputation: 12449

Installing pip on ubuntu 16.04

I was installing pip for python3. I used the following command for that:

sudo apt-get install python3-pip

enter image description here

But after installation it still says pip is not installed.

enter image description here

I have python 3.5.2 installed.

Upvotes: 1

Views: 21347

Answers (3)

Mohit Nandedkar
Mohit Nandedkar

Reputation: 1

easy_install -U pip : this solved my problem on ubuntu 16.04

Upvotes: -4

Abdelouahab
Abdelouahab

Reputation: 7559

The best way to install it, is by :

wget https://bootstrap.pypa.io/get-pip.py

cd ~/Downloads/ (if your version is english, in french you find it Téléchargements)

Then once you downloaded it, try :

sudo python3 get-pip.py

Upvotes: 7

jwodder
jwodder

Reputation: 57610

The python3-pip package installs pip for Python 3, which is named pip3. Plain pip is pip for Python 2, which is installed by the python-pip package.

Upvotes: 11

Related Questions