A lot of code available that uses BeautifulSoup tells you to call it like so:
from beautifulsoup import BeautifulSoup
If you've installed BeautifulSoup4, though, this won't work. The main module name has been changed to bs4. So change the code that does that to
from bs4 import BeautifulSoup
Please make a note of it.