出现问题:Command "python setup.py egg_info" failed with error code 1,当进行pip3 install beautiful

Posted feliciawon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了出现问题:Command "python setup.py egg_info" failed with error code 1,当进行pip3 install beautiful相关的知识,希望对你有一定的参考价值。

C:\Users\wang>pip3 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\wang\AppData\Local\Temp\pip-build-3s2h_rej\beautifulsoup\se
tup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: Missing parentheses in call to print. Did you mean print(int
"Unit tests have failed!")?

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\wang\App
Data\Local\Temp\pip-build-3s2h_rej\beautifulsoup\

解决方案是:

C:\Users\wang>pip install bs4

 


以上是关于出现问题:Command "python setup.py egg_info" failed with error code 1,当进行pip3 install beautiful的主要内容,如果未能解决你的问题,请参考以下文章

Command "python setup.py egg_info" failed with error code 1一种问题的解决方法

解决 Command "python setup.py egg_info" failed with error code 1 问题

手机sockettimeout怎么解决

安装 xadmin 报错: Command "python setup.py egg_info" failed with error code 1 in C:UsersPyth(示

Python:不明白为啥在 GUI“command=”中需要 lambda 来调用函数 [重复]

安装 Android SDK 后出现“sdkmanager: command not found”