简体   繁体   中英

How to install pipenv on Windows?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM