Last active
February 9, 2018 10:02
-
-
Save wuthmone/b31405afbf7d95e9fe4c35ff88cfd6f3 to your computer and use it in GitHub Desktop.
Python Environment setups for Ubuntu or other Linux OS
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
# Install python3 on Ubuntu | |
mkvirtualenv --python=/usr/bin/python3.6 ACE2 | |
sudo apt-get install python3 | |
# Install python-pip3 on Ubuntu | |
sudo apt-get install python3-pip | |
# Install the require library with pip3 ( requirements.txt must be in same directory ) | |
pip3 install -r requirements.txt --no-index --find-links file:///tmp/packages | |
# Store the requires libary with freeze | |
pip freeze > requirements.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment