I am trying to run the pygooglevoice example script parse_sms.py to try and download the content of an sms with Python and am receiving the following error:
Traceback (most recent call last):
File "C:\Python27\pygooglevoice-0.5-extras\examples\parse_sms.py", line 39, in <module>
for msg in extractsms(voice.sms.html):
File "C:\Python27\pygooglevoice-0.5-extras\examples\parse_sms.py", line 20, in extractsms
tree = BeautifulSoup.BeautifulSoup(htmlsms) # parse HTML into tree
AttributeError: type object 'BeautifulSoup' has no attribute 'BeautifulSoup'
I am running Windows 7 x64, Python 2.7
I have modified the parse_sms.py file only by changing the import of BeautifulSoup to 'from bs4 import BeautifulSoup'
I am new to Python and brand new to BeautifulSoup and I don't know what to do next to try and resolve this issue. Your help is appreciated.