[PyQt] PyQt 4.4.3 / Bug with SciPy

Pierre Raybaut contact at pythonxy.com
Fri Sep 26 11:33:03 BST 2008


PyQt 4.4.3 has introduced a new bug with SciPy 0.6 (released a long time ago).

When you type:
from scipy import interpolate   # interpolate is just an example, it
could be anything else
from PyQt4 import QtGui  # again, it's an example: e.g. it fails with QtCore too

you get the following error:
ImportError: DLL load failed: Invalid memory address

Now, if you do the same things but in a different order, it works fine:
from PyQt4 import QtGui
from scipy import interpolate

This bug occurs only with PyQt 4.4.3 (i.e. not with 4.3.3 release).
I've reproduced this bug in a clean environment (clean WinXP VM with
only Python, NumPy, SciPy and PyQt4 installed, respectively with their
official installers).

Do you know where it comes from? (did something changed in the way
DLLs are loaded between 4.3.3 and 4.4.3 releases?)
(that is not very convenient...)


More information about the PyQt mailing list