安装pycocotools各种报错,解决方案
致命错误C1083:无法打开包含文件“math.h”
致命错误C1083:无法打开包含文件“io.h”
网上看到各种各种办法都没有成功安装
以下办法一次成功
从清华镜像源下载https://pypi.tuna.tsinghua.edu.cn/simple/pycocotools-windows .whl型包,pycocotools_windows-2.0.0.2-cp38-cp38-win_amd64.whl 注意看格式,cp38就是python3.8
用cmd的pip命令 pip install 包所在的路径
pip install C:\Users\amaterur\Downloads\pycocotools_windows-2.0-cp37-cp37m-win_amd64.whl(文件目录)