2017-01-10 14 views
2

最近私のWindows 10ラップトップにPython 3.6をクリーンインストールしました。 BeautifullSoupをインストールします。私はegg_infoがPython 3.6のpipインストールでエラーコード1で失敗しました

python -m pip install BeautifulSoup 

を使用しようとすると、それは次の値を返します。

C:\Users\mjpvanzuijlen\AppData\Local\Programs\Python\Python36>python -m 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\MJPVAN~1\AppData\Local\Temp\pip-build-kopzhsyx\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\MJPVAN~1\AppData\Local\Temp\pip-build-kopzhsyx\BeautifulSoup\ 

私はegg_infoとsimilair問題を持つ人を見つけましたが、解決策は私のために動作しませんでした。私はピップをアップグレードしようとしました、私はsetuptools32.3.2.1をダウンロードしました、私はsetupttoolsをアップグレードしましたが、役に立たなかった。

答えて

0

間違ったパッケージをインストールしようとしているようです。

実行してみましょう:python -m pip install BeautifulSoup4

の代わり:python -m pip install BeautifulSoup

関連する問題