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 \"
In Python 3 print is a function; it should be:
print
print(soup.prettify())
Install bs4 correctly or use a newer version if it is a bug. beautifulsoup4==4.1.3 works fine on Python 3.3.
bs4
beautifulsoup4==4.1.3