码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-02-22 10:50:03      阅读:9135      评论:0      收藏:0      [点我收藏+]

标签:out   方案   pip3   inf   pre   问题:   with   print   man   

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 beautifulsoup

标签:out   方案   pip3   inf   pre   问题:   with   print   man   

原文地址:https://www.cnblogs.com/feliciawon/p/8458043.html

(4)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!