I have this code (as written in BS4 documentaion):
from bs4 import BeautifulSoup
When I run the script (using python3) I get the error:
A single command did the trick for me:
Try:
sudo apt-get install python3-bs4
and then import it as: