I spent the last 45 minutes hopelessly trying to run:
from bs4 import BeautifulSoup
But to no avail. I tried the commands:
python -m pip install beautifulsoup4
where it says:
Requirement already satisfied: beautifulsoup4 in c:\python27\lib\site-packages
I tried:
pip3 install beautifulsoup4
where he says the same thing.
I tried:
pip install beautifulsoup4
Same.
I looked through the whole stackoverflow, youtube, I make myself crazy trying to figure it out. I do not know what to do, please help me.
When I try to run my main.py program with the following code:
from bs4 import BeautifulSoup
With py -3 main.py, I get an error:
ModuleNotFoundError: No module named 'bs4'
Please, please, please help me.
I tried the method suggested in BeautifulSoup4 cannot be installed in python3.5 on Windows7 , but to no avail.
source
share