curl-and-python

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

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Tue, 3 Jun 2014 10:46:27 -0400

On Sun, 18 May 2014 07:54:03 -0500
Jim Bell <Jim_at_JC-Bell.com> wrote:

> > Using pycurl linked against one crt with python linked against
> > another crt will either not work at all or will produce subtle
> > bugs/crashes in some scenarios. Short version: pycurl must be
> > compiled against the same crt python, and libcurl, are compiled
> > against. This might require libcurl to be recompiled against
> > whatever crt python was compiled against.
>
> YOU ROCK! I was running Python 2.7.3. I upgraded to 2.7.6 (latest)
> and pycurl now imports and works!
>
> Wow, was that subtle. I never would have guessed MSVCRT9.dll had
> changed.

Hi Jim,

I did not realize Python changed MSVC versions between minor
releases. I drafted an amendment to the INSTALL file documenting
this situation. If you don't mind, please look it over to see if
anything should be added/changed:

https://github.com/pycurl/pycurl/pull/185

Thanks,
Oleg
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2014-06-03