BeautifulSoup安装错误

时间:2015-03-22 16:54:02

标签: python beautifulsoup

我使用pip安装了Beautiful Soup,之后当我在cmd中运行它时出现以下错误

  Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python34\bs4\__init__.py", line 175
  except Exception, e:
  SyntaxError: invalid syntax

我用pip install beautifulSoup4来安装beautifulSoup然后我从cmd运行python解释器并从bs4导入BeautifulSoup写了我得到了上面的错误

0 个答案:

没有答案