运行时报错 ImportError: cannot import name 'HTMLParseError'
Traceback (most recent call last):
File "D:/Python Workspaces/web_crawer/test_urlib2.py", line 4, in <module>
from bs4 import BeautifulSoup
File "C:\Users\YSong\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\__init__.py", line 29, in <module>
from .builder import builder_registry
File "C:\Users\YSong\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\builder\__init__.py", line 294, in <module>
from . import _htmlparser
File "C:\Users\YSong\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\builder\_htmlparser.py", line 7, in <module>
from html.parser import (
ImportError: cannot import name 'HTMLParseError'
求指导