Static python compile on windows.

"Martin v. Löwis" martin at v.loewis.de
Wed Jul 28 18:10:45 EDT 2004


Thomas Heller wrote:
> Now I have a ~900 kB static python.exe. How can I prevent that this exe
> tries to import extension modules from the file system - it always
> crashes with a Fatal Python error: Interpreter not initialized (because
> it tries to load the normal python23.dll which I have also installed)?

See my comments to python-dev. The easiest way, as you explain, is to
disable dynamic loading in the first place. Alternatively, make sure
that the PE module it tries to load is the same as the one implementing
dynamic loading.

Regards,
Martin



More information about the Python-list mailing list