Skip to content

Instantly share code, notes, and snippets.

@Harold2017
Last active March 1, 2019 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 Harold2017/58e199c450565e406aad25e6d57f81f3 to your computer and use it in GitHub Desktop.
Save Harold2017/58e199c450565e406aad25e6d57f81f3 to your computer and use it in GitHub Desktop.
Install and setup pipenv on Mac

Install pipenv

with brew

brew install pipenv

with pip3

pip3 install pipenv

Find paths of python3 and pipenv

python3 -m site
# add path to zsh env
vim ~/.zprofile
# or ~/.bash_profile for bash env

Setting PATH for Python 3.6

in .zprofile

PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH

Setting LANG for pipenv

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment