ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directl
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
安装yolov5依赖库时最后pycocotools报错
重点是以下原因
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
尝试的解决方法如下
1、直接下载VS2022中工作负荷里有关C++和Python的未成功
结果报错
vs2022在9次尝试后下载以下文件时出现问题: https://go.microsoft.com/fwlink/?linkid=2197296
一直下不了卸载后找其他攻略
2、在VS中下载单个组件未成功
下载完成重新安装库仍然报错
安装包如下
链接https://pan.baidu.com/s/1haxaASQYMJ2MRB0561527g?pwd=vyzw
提取码vyzw
一直点安装好后重新安装pycocotools成功