0 - 步骤
- 安装visualcppbuildtools_full.exe(链接:https://blog.csdn.net/u012247418/article/details/82314129)
- 重启电脑,在开始菜单中打开"Visual C++ 2015 x64 Native Build Tools Command Prompt"命令行
- 命令行中键入"activate env_name"激活虚拟环境(env_name为虚拟环境名称)
- 命令行中键入"pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI"完成pycocotools安装