tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

Beautifulsoup #313

Open Ananthu2oo3 opened 2 years ago

Ananthu2oo3 commented 2 years ago

Traceback (most recent call last): File "bs4.py", line 2, in from bs4 import BeautifulSoup File "/home/charanya/tact/Beautiful_soup/bs4.py", line 2, in from bs4 import BeautifulSoup ImportError: cannot import name 'BeautifulSoup' from partially initialized module 'bs4' (most likely due to a circular import) (/home/charanya/tact/Beautiful_soup/bs4.py)

Ananthu2oo3 commented 2 years ago

rename the python file to some other name. Since bs4 is a module name, it is showing an error