安装pycocotools库踩坑 ERROR: Failed building wheel for pycocotools

安装pycocotools库踩坑

报错:

ERROR: Failed building wheel for pycocotools
subprocess-exited-with-error
legacy-install-failure
Encountered error while trying to install package.
╰─> pycocotools
安装pycocotools库踩坑 ERROR: Failed building wheel for pycocotools_第1张图片

解决方法

输入:

pip install pycocotools-windows -i https://pypi.tuna.tsinghua.edu.cn/simple

安装pycocotools库踩坑 ERROR: Failed building wheel for pycocotools_第2张图片
成功!!!

你可能感兴趣的:(python,深度学习)