Don't let pip install stuff into root python

This commit is contained in:
Jeremy Dormitzer 2021-01-11 15:19:14 -05:00
parent f019c1153e
commit f8db1c43b4

View File

@ -40,6 +40,9 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# https://docs.python-guide.org/dev/pip-virtualenv/
export PIP_REQUIRE_VIRTUALENV=true
export PIPENV_VERBOSITY=-1 export PIPENV_VERBOSITY=-1
export PIPENV_DONT_LOAD_ENV=1 export PIPENV_DONT_LOAD_ENV=1
export PIPENV_MAX_DEPTH=20 export PIPENV_MAX_DEPTH=20