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:

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

Could you help me please?
You must add the Scripts directory to PATH environment variable as in the example below:

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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With