[PyKDE] Installation problems with PyQT on Windows (DLL Load Failed)
feroze_arif at pacific.net.sg
feroze_arif at pacific.net.sg
Fri Dec 20 15:35:00 GMT 2002
Hello Phil,
Thank you for your response.
QT is installed on the C drive (c:\QT) and I am running the scripts from the D drive (by clicking on Start->Programs->PyQt 3.5->Examples->aclock.py). The examples are in D:\python22\PyQt\Examples.
Should I install Python, QT and PyQT all on the same drive?
Best Regards
Feroze
>
> From: Phil Thompson <phil at river-bank.demon.co.uk>
> Date: Fri 20/12/2002 5:56 PM GMT+08:00
> To: "Feroze Mohamed Arif" <feroze_arif at pacific.net.sg>, <pykde at mats.gmd.de>
> Subject: Re: [PyKDE] Installation problems with PyQT on Windows (DLL Load Failed)
>
> 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?
>
> Phil
>
More information about the PyQt
mailing list