AnsweredAssumed Answered

ImportError: DLL load failed: The specified module could not be found.

Question asked by amilt on Jun 24, 2013
Latest reply on Jun 25, 2013 by amilt
My issue is similar to the one already discussed below:

Specifically, I have written some code in Cython and compiled to a .pyd. In order to run on other machines with ArcGIS 10.1, I have included with my code the Microsoft Manifest (Microsoft.VC90.CRT.manifest) and other required DLLs (msvcm90.dll, msvcp90.dll, msvcr90.dll) that are included in the ArcGIS 10.1 installation. I do not think the code was compiled with these DLLs, but I have been able to get the .pyd to import successfully on other computers without Visual Studio using these DLLs.

When I import my code before arcpy, it imports fine. When I import after, it throws the error "ImportError: DLL load failed: The specified module could not be found."

Is there an option for me to make my .pyd work when I distribute this code as part of a toolbox?

Please let me know if more details or the files themselves would be helpful.