pipenv is used as a package management system in the Python programming language. This article introduces the solution when the pipenv command becomes not found.
If you install pipenv with the following command, packages get installed in a weird place in the home directory, the path isn’t set, the command is not found, and even doing something like ls ”$( npm bin )/pipenv” doesn’t show it in the local directory, making things troublesome.
pip install --user pipenv
To resolve this situation and reinstall globally, first uninstall and then install globally.
pip uninstall pipenv
sudo pip install pipenv
Reference: