Fork me on CSDN

windows下虚拟环境下安装pycocotools

 

  • 安装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安装
posted @ 2021-08-01 18:30  追风赶月的少年  阅读(138)  评论(0编辑  收藏  举报