So I'm getting an import error on this line:
from bs4 import BeautifulSoup
It says:
ImportError: no module named 'bs4'
Any idea what's going on / how to fix this?
Thanks, Mariogs
So I'm getting an import error on this line:
from bs4 import BeautifulSoup
It says:
ImportError: no module named 'bs4'
Any idea what's going on / how to fix this?
Thanks, Mariogs
import sys; print(sys.path)
shows that you use Python 3.3 but the output from pip
shows that it installs for Python 2.7
Use pip
that installs for Python 3.3. It might be already installed as pip3
or pip3.3
. If not; then install it first.