解决办法: 在调用BeautifulSoup的时候不添加多余的from_encoding参数, 将调用修改为如下: soup = BeautifulSoup(html_content, 'html.parser') 参考文献: https://paper.knowlesea.top/post/14