路径是:
C:\Python27;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_51\jre\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\PharosSystems\Core;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;
我猜你是想重新安装Python?在
我的建议是,如果您尝试安装python 2 go with python x,y,因为它附带了很多预装的东西,而且安装和运行起来要容易得多: https://python-xy.github.io/
如果您要安装python 3,我建议您使用python anaconda:
https://www.anaconda.com/download/
按照@martineau的建议,我重新安装了Python,并选中了在安装期间将Python添加到path的选项。然后Python在命令提示符下运行,没有问题。在
已检查系统路径-C:\Python27\已添加。显然,这第二个反斜杠是必不可少的;我已经有了C:\Python27,但这不起作用。在
重新安装后的路径:
C:\Python27\;C:\Python27\Scripts;C:\Python27;C:\windows\system32;C:\windows;C:\windows\system32\Wbem;C:\windows\system32\WindowsPowerShell\v1.0\;C:\Program Files(x86)\Java\jdk1.7.0_51\jre\bin;C:\Program Files\MiKTeX 2.9\MiKTeX\bin\x64\;C:\Program Files(x86)\PharosSystems\Core;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files(x86)\Skype\Phone\
相关问题 更多 >
编程相关推荐