Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

  • 先安装mim
  • 注意事项

需要降低mmcv版本

Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects_第1张图片

pip install mmcv-full==1.4.5 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.8/index.html

安装报错
Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects_第2张图片

这里我不推荐去安装pyproject.toml-based projects这一套东西,网上说得vs安装那一套生成工具

我建议使用mim替换pip,安装mmcv

先安装mim

pip install -U openmim

Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects_第3张图片

再安装mmcv1.4

mim install mmcv-full==1.4.5

Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects_第4张图片
Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects_第5张图片

成功

注意事项

在windows下安装难免会遇到一些问题,这里我是记录了我在搭建环境遇到的问题和成功解决的办法。

在linux下安装mmdetection极为简单,如有需要可参考博文:linux下搭建mmdetection开发环境

你可能感兴趣的:(mmdetection,pytorch,开发语言,深度学习)