-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ImportError: DLL load failed while importing _ext: The specified procedure could not be found. #1594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, did you install mmcv (not mmcv-full) before? Note: Do not install both versions in the same environment, otherwise you may encounter errors like ModuleNotFound. |
No, I have re-created my venv and I am certain that only mmcv-full is installed. |
I have uploaded the zip file for |
@gitgitgithut This package has been proved OK in my env. |
Hi there, I re-installed my venv using the .whl file you provided me, and the problem persists.
|
Hi @gitgitgithut , we have updated the pre-built packages of 1.4.1. Please have a try. |
Hi @zhouzaida @del-zhenwu, I have reinstalled my venv with the updated mmcv-full 1.4.2, the issue is now resolved: |
That helps much!! |
I have reinstalled my venv with the updated mmcv-full 1.4.2, the issue is now resolved
hi, How can installI mmcv-full 1.4.2 ?? |
Hi @duduzai2019, as the official mmcv documentation stated, you can use pip to install a specific version of mmcv-full with |
Thank you for your answer, It has been replaced by mvcc 1.4.2 , but train.py is still an old proble |
hiEncountered the same error in mmcv 2.0.0rc4 when attempting to install it using "pip install mmcv". However, I was able to resolve the issue by building mmcv from the source code。 |
已解决 |
hi @gitgitgithut. I have the same problem as you, and it has been bothering me for three days. But I finally solved it now. |
Hi @cybbbbbbb , I'm facing the same issue. |
I was able to fix it by downgrading my pytorch to 2.0.0 |
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:
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:

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:




The text was updated successfully, but these errors were encountered: