Tag Info

New answers tagged


The official build doc for python3 on ubuntu seem to be here.


Ok, I found the problem: both pip and pip3 install the executable file in /usr/local/bin. Uninstalling from pip (python2) removes the binary. So I had to uninstall and re-install in pip3 to get things working.


/usr/bin/python, /usr/bin/python2 and /usr/bin/python3 are just symbolic links to a Python executable for convenient access to a Python 2/3 interpreter or just a python interpreter. In 14.04 they point to: /usr/bin/python → /usr/bin/python2.7 /usr/bin/python2 → /usr/bin/python2.7 /usr/bin/python3 → /usr/bin/python3.4 In combination with virtualenv you ...


Needed to install python3-dev sudo apt-get install python3-dev


This should work too: sudo apt-get install python-virtualenv virtualenv -p python3 myvenv

Top 50 recent answers are included