Python virtualenv:系统找不到指定的路径

2024-10-01 07:35:03 发布

您现在位置:Python中文网/ 问答频道 /正文

在本教程之后,virtualenv我收到了以下消息:

C:\Users\Dev\Desktop>mkvirtualenv AndroidKivy
C:\Users\Dev\Envs is not a directory, creating
Running virtualenv with interpreter C:/Python27/python.exe
Overwriting C:\Users\Dev\Envs\AndroidKivy\lib\orig-prefix.txt with new content
New python executable in C:\Users\Dev\Envs\AndroidKivy\Scripts\python.exe
Installing setuptools, pip, wheel...done.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

我读了这个mkvirtualenv results in error: The system cannot find the path specified,并使用命令where python.exe。我只有一个python.exe运行时在我的路径中,所以一开始我的问题不适合它。在

^{pr2}$

再次找到这个主题Stackoverflow。即使像这样执行mkvirtualenv -p C:/Python27/python.exe AndroidKivy我也会收到同样的错误。在

PIP列表

pip (9.0.1)
setuptools (28.8.0)
virtualenv (15.2.0)
virtualenvwrapper-win (1.2.5)

使用:Windows10和Python2.7


Tags: thepathdevvirtualenvwithfindexesystem