簡體   English   中英

當我嘗試通過pip安裝BeautifulSoup時為什么會出現此錯誤?

[英]Why do I get this error when I try to pip install 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):
      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\

誰能幫助我安裝此軟件? (是的,Beautifulsoup在我的C語言中:)我目前正在使用最新版本的Python 3.6.0。 謝謝

這應該有助於:

pip install beautifulsoup4

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM