Re: Win32: ImportError: DLL load failed: The specified procedure could not be found.

From: Gisle Vanem <>
Date: Thu, 15 May 2014 17:52:55 +0200

"Jim Bell" <> wrote:

> The offending call is the second call to LoadLibraryExA:
> LoadLibraryExA("c:\software\python27x86\lib\site-packages\pycurl.pyd", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL.
> Error: The specified procedure could not be found (127).

Strange. pycurl is not to blame here I think. Must be some issue
in Python 2.7. or an issue with 32 vs. 64-bit.

I see that Python 2.7 uses LoadLibraryExA() with the
'LOAD_WITH_ALTERED_SEARCH_PATH' flag in '_PyImport_GetDynLoadFunc()'.
Maybe this has changed in 3.4?


Received on 2014-05-15