Ads by ProfitSence
Close

Pipenv Command Not Found

Last Updated on Wednesday 5th Oct 2022

Pipenv

  • Way to install python packages in a virtual environment
  • Officially recommended Python packaging tool from Python.
  • Gets install globally
  • Allows us to add/remove packages easily
  • Similar to package.json in NodeJS
			
					  $pip install pipenv

			
	
  • The Above, which installs all the things in $HOME/.local/...
  • The PATH has to be modified.
  • If user installation is done, then you need to add the correct folder to your PATH.

Add the right folder to your PATH variable.

			
					  PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
  PATH="$PATH:$PYTHON_BIN_PATH"

			
	
  • Virtual environments are created and handled using various methods.
  • Pipenv is one of the easiest ways to do it.

Pipenv Install Intructions