I have this code (as written in BS4 documentaion):
from bs4 import BeautifulSoup
When I run the script (using python3) I get the error:
I had the same problem, but when I tried to "sudo apt-get install'python3-bs4" it said it was already installed. I ran my program with "python3 program.py" and it worked just fine.