[PyKDE] DLL problem with Qt/PyQt

Eike.Hoffmann at dlr.de Eike.Hoffmann at dlr.de
Fri Oct 28 12:07:53 BST 2005


Hello everybody,

I have a problem with Qt + PyQt + Python 2.3 on windows. I successfully
compiled Qt 3.3, Sip and PyQt with MinGW (also converted python23.dll to
libpython23.a with dlltool). Everything compiled and installed without
problems. But when I try to start a PyQt program (for example one of the
examples in the PyQt distribution) it fails with a message like "The
application could not start, because c:windowssystem32python23.dll is
missing...".

So it seems that he can't find the python23.dll in that directory, but
it is there. In my opion the missing slashes (or backslashes) int the
error message are notable - maybe somewhere the path to python23.dll is
written with only "\" where it should be two "\\" backslashes. Also
py2exe is searching for python23.dll in that path:

---
...
creating python loader for extension 'win32pipe'
creating python loader for extension 'unicodedata'
creating python loader for extension 'pyexpat'
creating python loader for extension 'sip'
creating python loader for extension 'qt'
creating python loader for extension 'win32wnet'
creating python loader for extension 'win32file'
creating python loader for extension '_tkinter'
creating python loader for extension 'timer'
creating python loader for extension 'xml.parsers.pyexpat'
creating python loader for extension 'win32ui'
creating python loader for extension '_ssl'
creating python loader for extension 'datetime'
creating python loader for extension 'win32ras'
creating python loader for extension 'xml.parsers.sgmlop'
creating python loader for extension 'zlib'
creating python loader for extension '_ldap'
creating python loader for extension 'win32trace'
creating python loader for extension '_sre'
creating python loader for extension '_winreg'
creating python loader for extension 'win32api'
creating python loader for extension '_socket'
creating python loader for extension 'qttable'
*** finding dlls needed ***
error: c:windowssystem32python23.dll: No such file or directory
----

Where ist this path specified? Do you have any idea how to resolv this
problem?

Thank you very much and
Kind Regards,
Eike Hoffmann




More information about the PyQt mailing list