注释掉: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/
下载:
解决: DECODER_ERROR_CLASSES += (brotli.error,) ttributeError: module 'brotli' has no attribute 'error'
原文:https://www.cnblogs.com/guofen3399/p/13626276.html