解决方法:
修改Lib\site-packages\pip\compat 下的init文件第75行
return s.decode('utf_8')
改为
return s.decode('gbk')
*********************************************************************************************************
补充报错提示如下:
C:\Users\wsb>pip install pycocotools
Collecting pycocotools
Using cached https://files.pythonhosted.org/packages/75/5c/ac61ea715d7a89ecc31c090753bde28810238225ca8b71778dfe3e6a68bc/pycocotools-2.0.4.tar.gz
Requirement already satisfied: matplotlib>=2.1.0 in c:\users\wsb\.conda\envs\dete2for_python3.6\lib\site-packages (from pycocotools)
Requirement already satisfied: numpy in c:\users\wsb\.conda\envs\dete2for_python3.6\lib\site-packages (from pycocotools)
Requirement already satisfied: cycler>=0.10 in c:\users\wsb\.conda\envs\dete2for_python3.6\lib\site-pac