I attempted to install Python module beautifulsoup4 to CS50 IDE:
~/workspace/ (master) $ sudo easy_install beautifulsoup4
Searching for beautifulsoup4
Best match: beautifulsoup4 4.5.3
beautifulsoup4 4.5.3 is already the active version in easy-install.pth
Processing dependencies for beautifulsoup4
Finished processing dependencies for beautifulsoup4
~/workspace/ (master) $ ./crawler
seed = 1485966479
Traceback (most recent call last):
File “getLinks.py”, line 2, in
from bs4 import BeautifulSoup
ImportError: No module named bs4
I did the same thing in Python workspace, and it works.
Do you know how I can install the Python module in CS50 IDE workspace? Thanks.