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
/home/jeremie/Enthought/Canopy_64bit/User/bin/pip3
┌─╼ [~]
└────╼ sudo which pip3
[sudo] password for jeremie:
/usr/local/bin/pip3
┌─╼ [~]
└────╼ 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)
Thanks!
which python3
andpip3 --version
– Carl H Apr 20 '17 at 11:46pip3 install ipython
not enough? – David Foerster Apr 21 '17 at 11:35