' PIP'在python 2.7.12上无法识别

时间:2017-04-19 22:08:02

标签: python beautifulsoup pip

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

C:\Python27>pip install beautifulsoup4
'pip' is not recognized as an internal or external command,
operable program or batch file.

我试图卸载python 2.7.12,但是当我尝试时,它说Windows安装程序包有问题

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

2 个答案:

答案 0 :(得分:0)

尝试:

C:\Python\Scripts\pip install

答案 1 :(得分:0)

pip位于Scripts子目录中。试试这个:

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