0

I need to install pipenv on Windows and I use this tutorial. However I get an error. I use Python 3.9.13 and pip 22.3. I installed pipenv with this command pip install pipenv, then I have to do this:

enter image description here

but I didn`t get it. So I passed it and entered this command pipenv -h. Finaly I got this error:

enter image description here

Could you help me please?

party
  • 55
  • 1
  • 5

2 Answers2

0

You must add the Scripts directory to PATH environment variable as in the example below:

Deneb
  • 981
  • 2
  • 9
  • 25
0

First of all you should locate where pip installed your package. You can use pip show pipenv as explained here

For me it was in

%APPDATA%\Python\Python311\site-packages

So then I added

%APPDATA%\Python\Python311\Scripts to the PATH

NOTE: %APPDATA% points to AppData\Roaming, not AppData\Local.

buddemat
  • 4,552
  • 14
  • 29
  • 49
Bamarin
  • 11
  • 3