Error running conda env list

I have updated my conda installation on Windows with the command
conda update -n base conda

When I run
conda env list
I get the following error

File “C:\Users\user_name\miniconda3\lib\site-packages\urllib3\response.py”, line 287, in BaseHTTPResponse
DECODER_ERROR_CLASSES += (brotli.error,)
AttributeError: module ‘brotli’ has no attribute ‘error’

Good afternoon, you can solve this issue by commenting these lines in the file

C:\Users\user_name\miniconda3\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.