Created
August 12, 2019 18:50
-
-
Save samredai/28780046c433007046c380b0f50fcbe9 to your computer and use it in GitHub Desktop.
Python: Solution to 'Pipenv: Command Not Found' After 'pip install pipenv'
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
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" |
sudo -H pip install -U pipenv worked perfectly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo -H pip install -U pipenv worked for me