解决: DECODER_ERROR_CLASSES += (brotli.error,) ttributeError: module 'brotli' has no attribute 'error'

注释掉:E:\anaconda\envs\TF_2C\Lib\site-packages\pip\_vendor\urllib3\response.py中的这两行:

 #if brotli is not None:
     #   DECODER_ERROR_CLASSES += (brotli.error,)

  然后去

https://www.lfd.uci.edu/~gohlke/pythonlibs/

  

下载:

posted @ 2020-09-07 13:11  guofen3399  阅读(1768)  评论(0)    收藏  举报