BeautifulSoup is now splitted into beautifulsoup
(version 3..) and beautifulsoup4
(version 4..) in pip.
So to install a specific version run:
sudo pip install beautifulsoup # version 3
or
sudo pip install beautifulsoup4 # version 4
Copied from one of the web reference :
I had the same issue after installing beautifulsoup4_4.5.1 on Python 3.4 via copying the .tar file. What worked for me was uninstalling the beautifulsoup and installing it again using the pip install method. If installation is successful, you will find bs4 in the list of installed modules. Here are the steps:
c:\Python34\Scripts\pip.exe uninstall beautifulsoup4
c:\Python34\Scripts\pip.exe install beautifulsoup4
c:\Python34\python.exe
help('modules')
from bs4 import BeautifulSoup