【发布时间】:2016-06-15 08:47:07
【问题描述】:
我已经在我的 Windows 8 计算机上安装了 Python 3.5。我还安装了 Pycharm 社区版本 5.0.4。我无法通过 Pycharm 中的设置选项安装 BeautifulSoup 模块。我在 Pycharm 中收到以下错误:
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\Kashyap\AppData\Local\Temp\pycharm-packaging0.tmp\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:\Users\Kashyap\AppData\Local\Temp\pycharm-packaging0.tmp\BeautifulSoup
Python安装文件夹路径为3.5.1 (C:\Program Files (x86)\Python35-32\python.exe)
【问题讨论】:
标签: python python-3.x beautifulsoup