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?
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?
pip cannot be used to install Python, pip is used to install python packages, it's a package manager.
If you are looking for a command line utility that handles installing different version of CPython, (among other things) you can look at conda, conda is an environment manager.
conda is usually packaged with anaconda and works by managing environments in which you can specify different versions of Python. It helps you easily install different (with conda env create versions of python and switch between them via different environments (with source activate).
From the question it seems like you want to use apt-get instead of pip.
Try this:
sudo apt-get install python3
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.