从清华镜像源下载https://pypi.tuna.tsinghua.edu.cn/simple/pycocotools-windows/ wheel型包,pycocotools_windows-2.0-cp37-cp37m-win_amd64.whl 注意看格式,cp37就是python3.7
用cmd的pip命令 pip install 包所在的路径
pip install C:\Users\308B\Downloads\pycocotools_windows-2.0-cp37-cp37m-win_amd64.whl
shell:shift+鼠标右键,这个用pip就是不行,不知道具体原因。