ModuleNotFoundError: No module named ‘mmcv._ext

Problem: when installing mmdetection, mmcv is often installed, module not founderror: no module named ‘mmcv_ The problem of ext ‘pip install mmcv

use:

pip install mmcv-full

If you have any strange problems, please use the version of mmcv that matches your environment, such as:

pip install mmcv-full==latest+torch1.5.0+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html

For the specific version, please refer to the GitHub description of mmcv. The link is as follows:

https://github.com/open-mmlab/mmcv

Read More: