mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

mim install "mmcv>=2.0.0"这一步安装失败

Open wwzy666 opened this issue 1 year ago • 7 comments

Building wheels for collected packages: mmcv-full Building wheel for mmcv-full (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. 这样的提示信息,不知道是什么原因,是本机cuda版本太高了吗,不符合项目要求的版本? 问ai提示让我安装 Microsoft Visual C++ Build Tools

wwzy666 avatar Nov 28 '24 03:11 wwzy666

use ''pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/YOU CUDA VERSION/YOUR TORCH VERSION/index.html'' directly it may help!

Mlesaa avatar Nov 29 '24 13:11 Mlesaa

thank you! i try it,but it is not ok

wwzy666 avatar Dec 01 '24 02:12 wwzy666

same issue

mkimhi avatar Dec 17 '24 12:12 mkimhi

image

Go to https://mmcv.readthedocs.io/en/latest/get_started/installation.html and install mmcv in accordance to your system as shown above, dependencies include, cuda version, OS and pytorch version

Elstuhn avatar Jan 03 '25 07:01 Elstuhn

Hey guys, this easy setup works for me! https://github.com/Jeremy891102/mmdetection-easy-setup

Jeremy891102 avatar May 13 '25 07:05 Jeremy891102

use ''pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/YOU CUDA VERSION/YOUR TORCH VERSION/index.html'' directly it may help!

为什么在Building wheel for mmcv (setup.py) ... /这一步时这么慢呢?

zhangs-a-n avatar Aug 17 '25 07:08 zhangs-a-n

image

Go to https://mmcv.readthedocs.io/en/latest/get_started/installation.html and install mmcv in accordance to your system as shown above, dependencies include, cuda version, OS and pytorch version

YESSSS this insight is what clicked for me. Sharing in-depth step-by-step solution here: https://github.com/open-mmlab/mmdetection/issues/12404

tam-trance avatar Sep 29 '25 23:09 tam-trance