$ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
$ tar xvf Python-3.6.3.tgz
$ cd Python-3.6.3
$ ./configure --enable-optimizations
$ make -j8
$ sudo make altinstall
$ which python3.6
/usr/local/bin/python3.6
$ sudo ln -fs /usr/local/bin/python3.6 /usr/bin/python
$ python --version
python 3.6
$ pip install setuptools --upgrade
$ pip install pip --upgrade
$ pip install virtualenv
$ virtualenv --python $(which python3.6) ~/.virtualenvs/test
$ source ~/.virtualenvs/test/bin/activate
$ pip install awscli
$ aws --version
Last active
May 11, 2019 16:31
-
-
Save espozbob/b86bbfbbdc78a47461037036d365ebfb to your computer and use it in GitHub Desktop.
Install Python3.6 on the C9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment