pycharm安装第三方库失败
我没办法安装Scrapy/urllib2以及Beautiful都失败了
这些都报错
Collecting BeautifulSoup==3.2.1
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\amdin\AppData\Local\Temp\pycharm-packaging\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:UsersamdinAppDataLocalTemppycharm-packagingBeautifulSoup\
You are using pip version 9.0.0, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
这是为什么呢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个print明显是2的用法,还有BeautifulSoup 3.2.1是已经过时的库了,看了官方网站,只支持python2.x,现在推荐安装beautifulsoup4