Skip to content

Instantly share code, notes, and snippets.

@espozbob
Last active May 11, 2019 16:31
Show Gist options
  • Save espozbob/b86bbfbbdc78a47461037036d365ebfb to your computer and use it in GitHub Desktop.
Save espozbob/b86bbfbbdc78a47461037036d365ebfb to your computer and use it in GitHub Desktop.
Install Python3.6 on the C9
$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment