I have installed BeautifulSoup using easy_install and trying to run following script
from BeautifulSoup import BeautifulSoup import re doc = [\'
First install beautiful soup version 4. write command in the terminal window:
pip install beautifulsoup4
then import the BeutifulSoup library