I have installed BeautifulSoup using easy_install and trying to run following script
from BeautifulSoup import BeautifulSoup import re doc = [\'
On Ubuntu 14.04 I installed it from apt-get and it worked fine:
sudo apt-get install python-beautifulsoup
Then just do:
from BeautifulSoup import BeautifulSoup