[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] ImportError question
From:       "Richard D. Moores" <rdmoores () gmail ! com>
Date:       2011-02-18 16:22:57
Message-ID: AANLkTinZ2_imK_=7R65e+k3dCTW_9qRkYqvneRuT8HdC () mail ! gmail ! com
[Download RAW message or body]

On Fri, Feb 18, 2011 at 05:15, Richard D. Moores <rdmoores@gmail.com> wrote:
> 64-bit Windows Vista
> Python 3.1.3
>
> Yesterday I downloaded and installed SIP and PyQt for 64-bit Windows.
> Both show in C:\Python31\Lib\site-packages\. Thought I'd try to see if
> a PyQt example script from Chapter 4 of the Summerfield book would
> work, so I could see if the installations went OK. Well, no matter
> which script I run (in IDLE), I get:
>
> Traceback (most recent call last):
>  File "C:\P31Working\pyqtbookcode\chap04\calculate.pyw", line 14, in <module>
>    from PyQt4.QtCore import *
> ImportError: DLL load failed: %1 is not a valid Win32 application.
>
> What should I do about the DLL load failure?
>
> Thanks,
>
> Dick Moores

I solved the problem by uninstalling and reinstalling both Python and PyQt.

Dick
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic