Skip to content Skip to sidebar Skip to footer

Oserror: [winerror 126] Module Could Not Be Found

I am trying to run MXNet port of SSD in python but I am facing a strange error when I run the demo saying OSError: [WinError 126] The specified module could not be found specifica

Solution 1:

Ok finally solved!

I got to know that such error could be thrown when the file dependencies are not satisfied or not found. So to check the dependencies you go first to Visual Studio Prompt and then navigate to the folder where libmxnet.dll exists and run the following command

dumpbin /dependents libmxnet.dll

and it will show you a list of required files.

What was missing in my case are some of nVidia GPU Computing Toolkit files Cuda 9.0 as libmxnet.dll asks for them and I was having toolkit version 10.0 instead!

Solution 2:

you should install vcredist_x64 or vcredist_x86 package stands for Visual C++ Redistributable.

Post a Comment for "Oserror: [winerror 126] Module Could Not Be Found"