小编Pru*_*ush的帖子

对于beautifulsoup,"单元测试失败了"

我正在尝试为python33安装beautifulsoup但它没有正确安装它给出了这样的错误:

C:\Python33>pip install beautifulsoup
Downloading/unpacking beautifulsoup
Downloading BeautifulSoup-3.2.1.tar.gz
Running setup.py egg_info for package beautifulsoup
Traceback (most recent call last):
  File "<string>", line 16, in <module>
  File "c:\windows\temp\pip_build_Prashant\beautifulsoup\setup.py", line 22
    print "Unit tests have failed!"
                                  ^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 16, in <module>

File "c:\windows\temp\pip_build_Prashant\beautifulsoup\setup.py", line 22

print "Unit tests have failed!"

                              ^

SyntaxError: invalid syntax 
Run Code Online (Sandbox Code Playgroud)

那么我能为这个错误做些什么,有人能建议我吗?

python beautifulsoup python-3.x

21
推荐指数
1
解决办法
1万
查看次数

标签 统计

beautifulsoup ×1

python ×1

python-3.x ×1