在按照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导致错误:系统找不到指定的路径 并使用命令 where python.exe
。我的PATH中只有一个python.exe运行时,所以起初我的问题并不适用于它。
C:\Python27\python.exe
我在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)
Using: Windows 10 and Python 2.7
使用解释器C:/Python27/python.exe运行virtualenv
。什么时候会出现“路径未找到”错误?你可以尝试运行virtualenv venv
吗? - undefined