windows环境下,在安装cocoapi过程中踩了坑,花了个把小时解决了问题,记录方法如下,供参考
1、安装git
conda install git
2、安装vc库
防止出现报错“Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”
conda install libpython m2w64-toolchain -c msys2
方法参考 https://blog.csdn.net/qzzzxiaosheng/article/details/125119006?spm=1001.2014.3001.5506
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
git config --global https.proxy
git config --global --unset https.proxy
然后回到安装api那步
方法参考https://blog.csdn.net/weixin_52796927/article/details/121664227