Skip to content

Instantly share code, notes, and snippets.

@barbietunnie
Created February 19, 2018 14:13
Show Gist options
  • Save barbietunnie/0f26219ab286e416ddcbf6aece4279d2 to your computer and use it in GitHub Desktop.
Save barbietunnie/0f26219ab286e416ddcbf6aece4279d2 to your computer and use it in GitHub Desktop.
Install Python 3.6+ on Cloud 9 IDE
sudo apt-get install libssl-dev openssl
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
tar xzvf Python-3.6.4.tgz
cd Python-3.6.4.tgz
./configure
make
sudo make install
# Check if python 3.6 is installed
python3.6
# If python 3.6 is not installed, run the command below
sudo ln -fs /opt/Python-3.6.4/Python /usr/bin/python36
@mpd980
Copy link

mpd980 commented Feb 9, 2023

If you want to work with python 3.9. Kindly use the following command in c9 terminal

sudo yum install libssl-dev openssl

wget https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tgz

tar xzvf Python-3.9.16.tgz

cd Python-3.9.16

./configure

make

sudo make install

@sod-efi
Copy link

sod-efi commented Mar 6, 2023

how do I make the runner start 3.81 as default ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment