Skip to content

Instantly share code, notes, and snippets.

@epcim
Last active April 4, 2018 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/51724573a9b1ea6ca4862fbebf509721 to your computer and use it in GitHub Desktop.
Save epcim/51724573a9b1ea6ca4862fbebf509721 to your computer and use it in GitHub Desktop.
pipenv virtualenv python environment
pip install pipenv
pipenv --three # --two
pipenv install [xyz..]
pipenv --py
pipenv --shell
PYENV=.virtualenv
if ! which virtualenv; then echo "Please install virtualenv first"; exit 2; fi
virtualenv -p python3 --no-site-packages $PYENV
. $PYENV/bin/activate
$PYENV/bin/python -m pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment