Unable to get bs4 from Beautiful soup

31 views
Skip to first unread message

Elnatan Michael

unread,
Apr 29, 2024, 7:21:15 AMApr 29
to beautifulsoup
Deras,
I got the below error when try to execute a python program . so can anyone help for this issue.
import urllib.request, urllib.parse, urllib.error
>>> from bs4 import BeautifulSoup
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'bs4'

Thanks.
Elnatan

Chris Papademetrious

unread,
Apr 29, 2024, 11:58:25 AMApr 29
to beautifulsoup
Hi Elnatan,

What program are you trying to run? Did you install BeautifulSoup as described on the Beautiful Soup home page (pip install beautifulsoup4)?

 - Chris
Reply all
Reply to author
Forward
0 new messages