-1

I was able to install the library, however, when I try to run it, it shows me the following error.

Don't know what to do, I am going crazy about it. Someone please help me!!

problem when running
installing

Isac Moura
  • 5,940
  • 3
  • 13
  • 27
DanteM
  • 7
  • 1
  • 1
    Please do not share information as images unless absolutely necessary. See: https://meta.stackoverflow.com/questions/303812/discourage-screenshots-of-code-and-or-errors, https://idownvotedbecau.se/imageofcode, https://idownvotedbecau.se/imageofanexception/. – AMC Apr 19 '20 at 00:38
  • 2
    The first issue is a typo, it's `BeautifulSoup` not `BeautifulSoup4`. More importantl, however, is the fact that you're using Conda. This means you shouldn't install the package with pip, see https://www.anaconda.com/using-pip-in-a-conda-environment/. You shouldn't use the base Conda environment, either. – AMC Apr 19 '20 at 00:41
  • Does this answer your question? [Where is BeautifulSoup4 hiding?](https://stackoverflow.com/questions/12902783/where-is-beautifulsoup4-hiding) – Gino Mempin Apr 19 '20 at 02:14

2 Answers2

0

try this instead of adding 4 to the end.

from bs4 import BeautifulSoup
Yagiz Degirmenci
  • 16,595
  • 7
  • 65
  • 85
0

You're importing from Beautifulsoup4 what is the wrong package. Instead, from bs4 import BeautifulSoup

For more details, check the PyPi page of the package: https://pypi.org/project/beautifulsoup4/

Isac Moura
  • 5,940
  • 3
  • 13
  • 27