After installed python 3.6 from the the edwinksl's answer (How do I install Python 3.6 using apt-get?), I tried to test out the version of python on my computer with pip --version where I got the answer

pip 9.0.1 from /home/jeremie/Enthought/Canopy_64bit/User/lib/python2.7/site-packages (python 2.7)

and with sudo pip --version, I got pip 9.0.1 from /home/jeremie/.local/lib/python2.7/site-packages (python 2.7)

I would like to uninstall canopy, and when I will execute one of the previous commands, I will like it displays the version 3.6. Could anyone have an idea how I could do such thing

┌─╼ [~]
└────╼ which pip3
┌─╼ [~]
└────╼ sudo which pip3
[sudo] password for jeremie: 
┌─╼ [~]
└────╼ pip3 --version
pip 9.0.1 from /home/jeremie/Enthought/Canopy_64bit/User/lib/python2.7/site-packages (python 2.7)
┌─╼ [~]
└────╼ sudo pip3 --version
pip 9.0.1 from /home/jeremie/.local/lib/python2.7/site-packages (python 2.7)

P.S. In fact, I need python3 for using the brand new version of IPython (Ipython6)



1 Answer 1


As far I understand you're trying to install a bleeding edge release of IPython for Python3. Here's how you can do it:

pip3 install ipython

In fact, you wouldn't even need a newer Python release for that since the minimum Python version required for IPython 6.0 is 3.3 (or 3.4 with Numpy). All currently supported Ubuntu releases provide at least Python 3.4 via the python3 command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .