Last active
November 21, 2022 00:05
-
-
Save Veilkrand/7463d4c7a77fb1e6a90d405bddfc30f7 to your computer and use it in GitHub Desktop.
Install Python3.7 in Ubuntu 16.04
This file contains hidden or 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
## For Ubuntu 16.04 Xenial | |
# Install Python3.7 | |
sudo apt update | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt update | |
sudo apt install python3.7 | |
# Create virtual environment with python3.7 | |
sudo apt-get install python3-pip | |
sudo pip3 install virtualenv | |
virtualenv -p /usr/bin/python3.7 venv | |
source venv/bin/activate | |
# Install Reqs | |
pip3 install -r reqs.txt | |
# Test Run | |
python myapp.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment