ModuleNotFoundError: No module named 'mmcv._ext'
Facing similar issue with fastBev package dependency:
Installed the below dependencies mmcv-full 1.7.2 mmdet 3.3.0 mmengine 0.10.6 mmsegmentation 1.2.2 nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Thu_Mar_28_02:18:24_PDT_2024 Cuda compilation tools, release 12.4, V12.4.131 Build cuda_12.4.r12.4/compiler.34097967_0 pip list | grep torch torch 2.4.1+cu124 torchaudio 2.4.1+cu124 torchvision 0.19.1+cu124 But shows ModuleNotFoundError: No module named 'mmcv._ext' . Tried reinstalling the mmcv version multiple times, but still does not help. Tried both options: Option 1: `pip install mmcv-full==1.7.2 -f https://download.openmmlab.com/mmcv/dist/cu124/torch2.4.0/index.html --no-cache-dir Option 2: git clone https://github.com/open-mmlab/mmcv.git cd mmcv pip install -r requirements/optional.txt pip install -e .`