Instead of using pip3 install mmcv
pip3 install mmcv
I pip3 uninstall mmcv,
pip3 uninstall mmcv
install pip3 install openmim and then mim install mmcv fixed the problem (you can also specify the target version)
pip3 install openmim
mim install mmcv