Created
February 19, 2018 14:13
-
-
Save barbietunnie/0f26219ab286e416ddcbf6aece4279d2 to your computer and use it in GitHub Desktop.
Install Python 3.6+ on Cloud 9 IDE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
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
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