Does anyone know how to fix it.
I am using Mac OS 10.8.2
>>> from bs4 import BeautifulSoup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/bs4/__init__.py", line 359
print soup.prettify()
^
SyntaxError: invalid syntax
In Python 3
printis a function; it should be:Install
bs4correctly or use a newer version if it is a bug.beautifulsoup4==4.1.3works fine on Python 3.3.