Last active
November 14, 2019 16:59
-
-
Save daluu/6b44710d451bd4c96a4eee8a1c5ab8d7 to your computer and use it in GitHub Desktop.
python env notes
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
various python related commands to run relating to envs | |
apt-get -y update && apt-get -y --force-yes --fix-missing install build-essential python-dev | |
pip install virtualenv | |
virtualenv --system-site-packages -p python3 venv3 | |
source venv3/bin/activate | |
. venv3/bin/activate | |
sed -i '1 s/^.*$/#!\/usr\/bin\/env python3/' venv3/bin/pip | |
pip install -U -q pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment