目 录CONTENT

文章目录

brotli.error BrotliDecompress failed

大T
2022-05-09 / 0 评论 / 0 点赞 / 43 阅读 / 0 字

brotli.error  BrotliDecompress failed

错误描述

Traceback (most recent call last):

File "D:/MyDevTools/PCrawler/crawler_demo/requests/douban_json.py", line 35, in

data = brotli.decompress(resp.content)

brotli.error: BrotliDecompress failed

image

引起原因

python3.8和brotli=1.0.9运行时不兼容

解决方案

使用python3.7

0

评论区