[PyKDE] Installation problems with PyQT on Windows (DLL Load Failed)

Phil Thompson phil at river-bank.demon.co.uk
Fri Dec 20 10:57:00 GMT 2002

On Friday 20 December 2002 3:19 am, Feroze Mohamed Arif wrote:
> Hi,
> I downloaded the latest binary for PyQT (PyQt-win-nc-3.5.exe) and installed
> it with Python v2.2.2.  The installation went off smoothly without any
> problems.  I pointed the installation to d:\python22 and the qt module
> files and libsip.dll got installed under D:\Python22\Lib\site-packages
> while the examples and tutorials got installed under D:\Python22\PyQt. 
> When I tried running the examples (aclock.py) I got the following trace
> back:
> Traceback (most recent call last):
>   File
> "D:\PYTHON22\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py",
> line 301, in RunScript
>     exec codeObject in __main__.__dict__
>   File "D:\Python22\PyQt\Examples\aclock.py", line 4, in ?
>     from qt import *
>   File "D:\PYTHON22\lib\site-packages\qt.py", line 28, in ?
>     import libsip
> ImportError: DLL load failed: One of the library files needed to run this
> application cannot be found.
> As I understand it PyQT-win-nc-3.5.exe contains the SIP binary and I can
> see the libsip.dll file but there seems to be some problem.  I tried doing
> a regsvr32 libsip.dll but I got an "LoadLibrary libsip.dll failed.
> GetLastError returns 0x00000485".
> I am currently running on Windows 98 and have installed
> QtWin230-NonCommercial.
> I would appreciate it very much if someone could help me out.

On which drive is Qt installed?

On which drive are you running the example from?


More information about the PyQt mailing list