question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: DLL load failed while importing _ext: The specified procedure could not be found.

See original GitHub issue

Hi there, I recently installed mmcv-full 1.4.1 and mmdet 2.19.1 using conda and openmim on my windows 10 device, and encountered an import error when running the following line: from mmdet.apis import init_detector, inference_detector, show_result_pyplot The error messages I got were:

image

I double checked the versions of my cudatoolkit, torch, mmcv-full and mmdet, and everything seems fine to me. I have pytorch==1.10.0, cudatoolkit==11.3.1, mmcv-full==1.4.1 and mmdet==2.19.1.

I tried to reinstall mmcv-full to check I got the build version correctly, here’s the result: image

Yet the same error messages were printed. I suspect it is still an compatibility issue between mmcv-full and mmdet, but i think I got the installation steps correct. Would you please help me with this issue? Thank you.

The following are all the packages I have installed in my venv: image image image image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zhouzaidacommented, Dec 28, 2021

Hi @gitgitgithut , we have updated the pre-built packages of 1.4.1. Please have a try.

0reactions
duduzai2019commented, Aug 18, 2022

嗨,@duduzai2019,正如官方mmcv文档所述,您可以使用pip安装特定版本的mmcv-full。pip install mmcv-full=={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html 图像

Thank you for your answer, It has been replaced by mvcc 1.4.2 , but train.py is still an old proble image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

NumPy library ImportError: DLL load failed: The specified ...
Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean...
Read more >
How to Fix Python ImportError: Dll Load Failed Error
This post offers 2 ways to fix the error "ImportError: Dll Load Failed: The specified module could not be found."
Read more >
ImportError: DLL load failed: The specified procedure could ...
I tried to run the demo: (venv) PS E:\bin\iPERCore-main> python demo/motion_imitate.py --gpu_ids 0 --image_size 512 --num_source 2 ...
Read more >
importError: DLL load failed: The specified module could not ...
I am getting the following error when trying to use deepspeech, i am using deepspeech=0.6.1 python module on a windows 10 machine
Read more >
[Cython] ImportError: DLL load failed: The specified module ...
File "<ipython console>", line 1, in <module> ImportError: DLL load failed: The specified module could not be found. In [7]: cd C:\Python27\Lib\site- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found