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