Use pip with Python 3.5

You need to install pip3.

sudo apt-get install python3-pip should do it.

Then use pip3 -V


I had to go through a slightly different procedure to get this working (Ubuntu 14.04--a local machine, not AWS). I think the difference may be that you were upgrading from 2.7 to 3.5, whereas I was updating from 3.4 to 3.5. I installed python3.5 through apt-get, then easy_install using curl, and finally pip using easy_install.

$ sudo apt-get install python3.5 python3.5-dev
$ sudo curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python3.5
$ sudo easy_install pip

Success!

$ pip3 -V
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.5)

As they say, it's turtles--or package managers--all the way down.


It's probably pip3 -V.

On my system I've got pip3, but no pip.

(rant: why python is always such a mess?)

Tags:

Python

Pip