Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
';pip';在python 2.7.12上无法识别_Python_Beautifulsoup_Pip - Fatal编程技术网

';pip';在python 2.7.12上无法识别

';pip';在python 2.7.12上无法识别,python,beautifulsoup,pip,Python,Beautifulsoup,Pip,当我尝试用pip安装漂亮的汤时,这种情况总是发生 C:\Python27>pip install beautifulsoup4 'pip' is not recognized as an internal or external command, operable program or batch file. 我曾尝试卸载Python2.7.12,但当我尝试卸载时,它说windows安装程序包有问题 编辑:pip安装在C:\Python27\Scripts下 C:\Python\Scri

当我尝试用pip安装漂亮的汤时,这种情况总是发生

C:\Python27>pip install beautifulsoup4
'pip' is not recognized as an internal or external command,
operable program or batch file.
我曾尝试卸载Python2.7.12,但当我尝试卸载时,它说windows安装程序包有问题

编辑:pip安装在C:\Python27\Scripts下

C:\Python\Scripts\pip install
尝试:


pip
位于
Scripts
子目录中。请尝试以下方法:

C:\Python27>cd Scripts
C:\Python27\Scripts>pip install beautifulsoup4

pip
位于
Scripts
子目录中。请尝试以下方法:

C:\Python27>cd Scripts
C:\Python27\Scripts>pip install beautifulsoup4

在Python3.6中,pip可能重复位于Python.exe位置下方名为“Scripts”的子目录中。您是否在驱动器上查看了pip的实际位置?如果确实安装了pip,请尝试
python-m pip install beautifulsoup4
。在python 3.6中,pip可能重复位于python.exe位置下方名为“Scripts”的子目录中。您是否查看了驱动器上pip的实际位置?如果确实安装了pip,请尝试
python-m pip install beautifulsoup4
。当我尝试这样做时,C:\Python27\Scripts>pip install-U setuptools Traceback(最后一次调用):文件“C:\Python27\lib\runpy.py”,第174行,在运行模块“main”中,fname,loader,pkg\u name)文件“c:\python27\lib\runpy.py”,第72行,在运行全局文件“c:\python27\Scripts\pip.exe\uthon27\pip.py”的第9行,在主引导(tmpdir=tmpdir)文件“c:\python27\pip.py”的第194行,在主引导(tmpdir=tmpdir)文件“c:\python27\pip.py”的第83行,从pip.commands.install导入InstallCommand导入错误:没有模块名称当我尝试这样做时C:\Python27\Scripts>pip install-U setuptools Traceback(最后一次调用):文件“C:\Python27\lib\runpy.py”,第174行,在run\U模块作为主“main”,fname,loader,pkg\U name)文件“C:\Python27\lib\runpy.py”中,第72行,在运行全局文件“C:\Python27\Scripts\pip.exe\uthou main.py”的运行代码exec代码中,第9行,在文件“C:\Python27\pip.py”的第194行,在主引导(tmpdir=tmpdir)文件“C:\Python27\pip.py”的第83行,从pip.commands.install导入InstallCommand导入错误:没有模块名我在没有模块名commands.install的情况下被击中,当我尝试pip install-U setuptools时,同样的事情发生了我在没有模块名commands.install的情况下被击中,当我尝试pip install-U setuptools时,同样的事情发生了