python无法识别为内部或外部命令 [英] python is not recognized as an internal or external command
问题描述
我尝试安装此软件.为此,需要使用Python.
I try to install this software. For that Python is required.
我从此处的名称python-2.7.3.msi
安装了Python.
I installed Python from here of name python-2.7.3.msi
.
我正在使用Windows 7.
I am working on Windows 7.
Hierarchy of my Python software is same as in this post.
这样做之后,我制作PATHVALUE = C:\Python27\Scripts
当我运行任何Python文件时,它会显示
When I run any Python file, it shows
不能将python识别为内部或外部命令,可操作程序或批处理文件. 无法创建vc项目文件.
python is not recognized as an internal or external command, operable program or batch file. Failed to create vc project files.
我该如何解决?
推荐答案
您要在字符串C:\Python27
而不是scripts文件夹后附加到PATH
.基本上,您需要在路径上带有实际二进制文件python.exe
的文件夹.
You want to append to your PATH
the string C:\Python27
, not the scripts folder. Basically, you want the folder with the actual binary python.exe
on your path.
这篇关于python无法识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!