ModuleNotFoundError: No module named 'mmcv._ext'
See original GitHub issueI tried all possible way explained in this thread. Still i am getting same error. Here are specs i am working on: OS: Windows 10 ±----------------------------------------------------------------------------+ | NVIDIA-SMI 496.49 Driver Version: 496.49 CUDA Version: 11.5 | |-------------------------------±---------------------±---------------------+
Torch-1.11.0+cu115 torch.cuda.is_available()) - True Torchvision - 0.12.0+cu115 mmdet.version - 2.22.0
ModuleNotFoundError: No module named 'mmcv._ext'
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'mmcv._ext' #3271
I was getting ModuleNotFoundError: No module named 'mmcv.ops', so I tried installing mmcv==0.6.2 and mmdet==2.2.1, but then I got the error, ...
Read more >MMCV Installation — MMDetection 2.11.0 documentation
Compatibility issue between MMCV and MMDetection; “ConvWS is already registered in conv layer”; ... “No module named 'mmcv.ops'”; “No module named 'mmcv.
Read more >ModuleNotFoundError: No module named 'mmcv._ext'
An article in Eric A. Scuccimarra's blog titled ModuleNotFoundError: No module named 'mmcv._ext'
Read more >ModuleNotFoundError: No module named 'mmcv._ext'解决方案
一、问题描述使用目标检测开源MMDetection时,出现如下报错:ModuleNotFoundError: No module named 'mmcv._ext'二、问题分析.
Read more >ViTPose - a Hugging Face Space by Gradio-Blocks
Found existing installation: mmcv-full 1.5.0 Uninstalling ... _gcd_import(name[level:], package, level) ModuleNotFoundError: No module named 'mmcv._ext'
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the detailed log. It’s probably because of the wrongly cached
mmcv-fullMake sure you have cleared the cache before installing
mmcv-full:Seems like a scipy’s feature that imports MMOCR twice. You can try disabling it https://stackoverflow.com/questions/46485628/avoid-reloaded-modules-module-name-message-in-python