0

I had install Jupyter follow this guide: https://medium.com/@blessedmarcel1/how-to-install-jupyter-notebook-on-mac-using-homebrew-528c39fd530f

I installed the version of python 3.7.5, and then I followed the command

pip3 install beautifulsoup4

but on the notebook continue to come out the error after I wrote

from bs4 import BeautifulSoup

ModuleNotFoundError: No module named 'bs4'

1 Answers1

2

You installed beautifulsoup4 not bs4

Follow this code to get what you are requiring:

pip3 install bs4 # for Py3

It maybe that the pip needs upgrading to be compatible with Python 3 version:

sudo apt install python3-pip

then try running the first command.

de_classified
  • 1,927
  • 1
  • 15
  • 19