Skip to content

Instantly share code, notes, and snippets.

@barbietunnie
Created February 19, 2018 14:13
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@vkadiyala
Copy link

vkadiyala commented Feb 13, 2020

in cloud 9 IDE apt-get is not accepting. it is asking to use yum instead.
Below are the latest commands executed in cloud9 to install python3.8.1
sudo yum install libssl-dev openssl
wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
tar xzvf Python-3.8.1.tgz
cd Python-3.8.1
./configure
make
sudo make install

Check if python 3.8 is installed

python3.8

thanks alot for sharing the instructions

@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