Skip to content

Instantly share code, notes, and snippets.

@samredai
Created August 12, 2019 18:50
Show Gist options
  • Save samredai/28780046c433007046c380b0f50fcbe9 to your computer and use it in GitHub Desktop.
Save samredai/28780046c433007046c380b0f50fcbe9 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"
@Souvik-Banerjee2000
Copy link

sudo -H pip install -U pipenv worked for me

@stevey52
Copy link

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