This topic created in 4343 days ago, the information mentioned may be changed or developed.
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 "d:\tmp\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 "d:\tmp\BeautifulSoup\setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in d:\tmp\BeautifulSoup
3 replies 2014-06-08 14:03:14 +08:00  | | 1 cbsw Jun 8, 2014 你确定这个库已经支持 python3 了吗? Unit test 明显是 py2 的语法 print "something",而不是 print("something") |