I downloaded BeautifulSoup.
Then I upgraded pip:
pip install --upgrade pip
Then, installed BS:
pip install beautifulsoup4
It seems like everything worked fine, but now when I run these three lines of code:
from BeautifulSoup import BeautifulSoup
import urllib2
import csv
I get this error.
Traceback (most recent call last):
File "C:\Users\rshuell001.spyder2\temp.py", line 1, in from BeautifulSoup import BeautifulSoup ImportError: No module named BeautifulSoup
I'm using Anaconda-Spyder
What am I doing wrong?
I think it should be: from bs4 import BeautifulSoup
.
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