Python 为什么在尝试pip安装BeautifulSoup时会出现此错误?

Python 为什么在尝试pip安装BeautifulSoup时会出现此错误?,python,beautifulsoup,Python,Beautifulsoup,我想下载BeautifulSoup以满足我的个人需要,但当我尝试安装它时,它会提供以下信息: C:\>pip install beautifulsoup Collecting beautifulsoup Using cached BeautifulSoup-3.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last):

我想下载BeautifulSoup以满足我的个人需要,但当我尝试安装它时,它会提供以下信息:

C:\>pip install beautifulsoup
Collecting beautifulsoup
  Using cached BeautifulSoup-3.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\ANONYM~1\AppData\Local\Temp\pip-build-a46azl8h\beautifulsoup\setup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ANONYM~1\AppData\Local\Temp\pip-build-a46azl8h\beautifulsoup\
C:\>pip安装美化组
收集美人群
使用缓存的BeautifulSoup-3.2.1.tar.gz
从命令python setup.py egg_info完成输出:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“C:\Users\Anonyman~1\AppData\Local\Temp\pip-build-a46azl8h\beautifulsoup\setup.py”,第22行
打印“单元测试失败!”
^
SyntaxError:调用“print”时缺少括号
----------------------------------------
命令“python setup.py egg_info”失败,错误代码为1,位于C:\Users\namon~1\AppData\Local\Temp\pip-build-a46azl8h\beautifulsoup中\
有人能帮我安装这个吗?(是的,beautifulsoup在我的C:) 我目前正在使用最新版本的Python 3.6.0。谢谢

这应该会有帮助:

pip install beautifulsoup4

请看。您必须为python 3oh安装beautifulsoup4,谢谢。有人告诉我这只是个美丽的周末