[Distutils] C extensions, Windows, and Fatal Python error
Alexandre Fayolle
Alexandre.Fayolle@logilab.fr
Thu Oct 11 10:54:01 2001
Hello,
I'm running python 2.1 on win2k, and I've built an extension module using
mingw32, following the instruction in the Manual to build python21.a.
Everything worked fine, I got my windows installer, ran it, but when I try
to import the C extension, Python crashes:
Type "copyright", "credits" or "license" for more information.
>>> from logilab.xmldiff import maplookup
Fatal Python error: Interpreter not initialized (version mismatch?)
>From a quick search on the net, I gather that this is caused by a wrong
python dll being loaded by the extension module, but the only python DLL I
have is python21.dll.
Anyone got a hint ?
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL).