I have this code (as written in BS4 documentaion):
from bs4 import BeautifulSoup
When I run the script (using python3) I get the error:
Ubuntu has beautifulsoup packaged. I found it by running apt-cache search
$ apt-cache search beautifulsoup
I see it has both a 2.7 and 3.3 version in the results. You can get the 3.3 version by installing python3-bs4
$ sudo apt-get install python3-bs4