by nivertech · 12y ago · 0 comments
Traceback (most recent call last):
File "./tickets.py", line 20, in <module>
for listing in soup.findall('p', {'class': 'row'}):
TypeError: 'NoneType' object is not callable $ sudo pip install BeautifulSoup
Downloading/unpacking BeautifulSoup
Downloading BeautifulSoup-3.2.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/BeautifulSoup/setup.py) egg_info for package BeautifulSoup
Installing collected packages: BeautifulSoup
Running setup.py install for BeautifulSoup
Successfully installed BeautifulSoup
Cleaning up...Try pip install beautifulsoup4