按照本教程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
。我的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)
使用: Windows 10 和 Python 2.7