I have spent the past 45 minutes hopelessly trying to run:
from bs4 import BeautifulSoup
But to no avail. I have tried the commands:
python -m pip install beautifulsoup4
where it says:
Requirement already satisfied: beautifulsoup4 in c:\python27\lib\site-packages
I have tried:
pip3 install beautifulsoup4
where it says the same.
I have tried:
pip install beautifulsoup4
Same thing.
I have looked all over stackoverflow, youtube, I am driving myself insane trying to figure this out. I have no idea what to do, please help me.
When I try to run my program main.py with the following code:
from bs4 import BeautifulSoup
With py -3 main.py, I get the error:
ModuleNotFoundError: No module named 'bs4'
Please please please please help me.
I have tried the method proposed at BeautifulSoup4 can't be installed in python3.5 on Windows7 but to no avail.
Now there is beautifulsoup4 for Python 3.6. It's the same, am using it this way on my webcrawl project.
Just add the beautifulsoup4 module to the project. Then try the line
from bs4 import BeautifulSoup
As of now the module is not getting loaded to python3.6 Try This
python3.6 -m pip install beautifulsoup4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With