Anaconda Error – module ‘brotli’ has no attribute ‘error’

I solved this issue by commenting lines 376 & 377 in the file

C:\ProgramData\Anaconda3\Lib\site-packages\urllib3\response.py

enter image description here

and then install brotli library by running either

pip install brotli

or

conda install brotli

After successful installation, uncomment above lines.
Do whatever you want now. Error should not come.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)