Last active
April 4, 2018 09:19
-
-
Save epcim/51724573a9b1ea6ca4862fbebf509721 to your computer and use it in GitHub Desktop.
pipenv virtualenv python environment
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
pip install pipenv | |
pipenv --three # --two | |
pipenv install [xyz..] | |
pipenv --py | |
pipenv --shell |
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
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