Parsing data is showing import error

“from bs4 import Beautifulsoup as soup” this command is not working
it is showing import error - ImportError Traceback (most recent call last)
in
----> 1 from bs4 import Beautifulsoup as soup

ImportError: cannot import name ‘Beautifulsoup’ from ‘bs4’ (c:\python\python38\lib\site-packages\bs4_init_.py)

Just replace this line:

from bs4 import Beautifulsoup as soup

with this:

from bs4 import BeautifulSoup as soup

It’s just a small typo.
Hope this helps!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.