Search code examples
pythonpython-2.7python-3.xpipcloud9-ide

How can I use pip to pip install Python 3 in Ubuntu terminal?


Currently using Cloud9's ACE IDE dev environment for some learning opportunities, however, I ran into an API that is exclusively made for Python 3.

How can I pip install Python 3 while keeping python 2.7.6 (the current version) intact?


Solution

  • You can't use pip to install Python 3. In any case, since you specifically mentioned the Cloud9 IDE, it already comes with both Python 2 and 3. python is symlinked to python2 though, so if you want to call Python 3, you have to type python3 (instead of just python) in the terminal.