ImportError: cannot import name 'HTMLParseError'

  File "C:\Program Files (x86)\Python\lib\site-packages\bs4\builder\_htmlparser.py", line 7, in <module>
    from html.parser import (

ImportError: cannot import name 'HTMLParseError'


Solution:

 Run the command: pip install --upgrade beautifulsoup4

After the installation is successful, you can

  


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324710373&siteId=291194637