2017-03-02 7 views
0

私は私の個人的なニーズのために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\ 

誰もがこれをインストールして私を助けることができますか? (そしてyes、beautifulsoupが私のCにあります:) 私は現在、最新バージョンのPython 3.6.0を使用しています。おかげ

+0

参照[ここ](http://stackoverflow.com/questions/30140034/beautifulsoup-invalid-syntax-in-python-3-4-after-2to3-をpy)。 –

+0

あなたはpython 3 – abccd

答えて

1

これは役立つはず:

pip install beautifulsoup4 
+0

ああ、ありがとうのためにbeautifulsoup4をインストールする必要があります。誰かが私にそれはちょうど美しいと言った – Vareq

関連する問題