【发布时间】:2020-08-27 17:36:06
【问题描述】:
我确保pipenv 安装在以下路径C:\Users\Owner> pip install pipenv
然后得到如下响应:
Requirement already satisfied: setuptools>=36.2.1 in c:\users\owner\appdata\local\programs\python\python36-32\lib\
ackages (from pipenv) (39.0.1)
Requirement already satisfied: pip>=9.0.1 in c:\users\owner\appdata\local\programs\python\python36-32\lib\site-pac
(from pipenv) (20.1)
Requirement already satisfied: virtualenv-clone>=0.2.5 in c:\users\owner\appdata\roaming\python\python36\site-pack
from pipenv) (0.5.4)
Requirement already satisfied: virtualenv in c:\users\owner\appdata\roaming\python\python36\site-packages (from pi
(16.0.0)
Requirement already satisfied: certifi in c:\users\owner\appdata\roaming\python\python36\site-packages (from pipen
20.4.5.1)
之后,我尝试将其设置在特定目录中。然后,我收到了以下消息。
PS C:\Users\Owner\desktop\Python\Pyprojects> pipenv install
The term 'pipenv' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
ling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:7
+ pipenv <<<< install
+ CategoryInfo : ObjectNotFound: (pipenv:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
以前,它一直说我没有设置轮子。所以,我安装了那个。但是,现在我收到上述错误消息。我该如何解决这个问题?感谢您的帮助。
【问题讨论】:
-
你在设置中正确设置了
Pipenv Path吗?就像这样:C:\Python\Python37\Scripts\pipenv.exe
标签: python powershell pip virtualenv pipenv