Skip to content

Instantly share code, notes, and snippets.

@huruji
Forked from samredai/install_pipenv.sh
Created February 23, 2020 18:37
Show Gist options
  • Save huruji/497f7a3859d1717cc462881e77754e09 to your computer and use it in GitHub Desktop.
Save huruji/497f7a3859d1717cc462881e77754e09 to your computer and use it in GitHub Desktop.
Python: Solution to 'Pipenv: Command Not Found' After 'pip install pipenv'
sudo -H pip install -U pipenv
# If you did a user install because you do not have sudo access, you have to modify your path to add your user folder
# The command on the next line tells you where your user folder is
# python3 -m site --user-base
PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
PATH="$PATH:$PYTHON_BIN_PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment