[PyKDE] Installation problems with PyQT on Windows (DLL Load Failed)
Feroze Mohamed Arif
feroze_arif at pacific.net.sg
Fri Dec 20 15:59:01 GMT 2002
I installed Python and PyQt on the C drive where QT is already installed and
tried running the example script. However the problem still remains.
Here is the traceback:
Traceback (most recent call last):
line 301, in RunScript
exec codeObject in __main__.__dict__
File "C:\Python22\PyQt\Examples\aclock.py", line 4, in ?
from qt import *
File "C:\PYTHON22\lib\site-packages\qt.py", line 28, in ?
ImportError: DLL load failed: One of the library files needed to run this
application cannot be found.
I look forward to your advice on how the above can be resolved.
From: Phil Thompson [mailto:phil at river-bank.demon.co.uk]
Sent: Friday, December 20, 2002 5:56 PM
To: Feroze Mohamed Arif; pykde at mats.gmd.de
Subject: Re: [PyKDE] Installation problems with PyQT on Windows (DLL
On Friday 20 December 2002 3:19 am, Feroze Mohamed Arif wrote:
> I downloaded the latest binary for PyQT (PyQt-win-nc-3.5.exe) and
> 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
> Traceback (most recent call last):
> 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
> 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