erro de importação devido a bs4 vs BeautifulSoup
Estou tentando usarbeautifulsoup
compatívellxml
e está me dando um erro:
from lxml.html.soupparser import fromstring
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/lxml/html/soupparser.py", line 7, in <module>
from BeautifulSoup import \
ImportError: No module named BeautifulSoup
eu tenhobs4
instalado. Como corrijo esse problema?