On Thu, 12 Aug 2010 09:34:56 -0700 (PDT)
Steve Allen <[email protected]> wrote:

> I tried it, but I still got the following:
> 
> C:\Python26\Lib\site-packages\PyQt>c:\Python26\python
> Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from PyQt import QtGui  
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named PyQt
> >>> from PyQt4 import QtGui  
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: DLL load failed: The specified module could not be found.

Well, I'm not a Windows person, but you can see that it's finding something (in 
the second case), but returning "DLL load failed".  So unless you're trying to 
use an XP DLL in Windows 7 or something, I don't know what's wrong...

...unless... maybe you need to install Qt as well as PyQt?

Qt 4.6 is at

http://qt.nokia.com/downloads/

but I think you need 4.7 which is at (maybe)

http://qt.nokia.com/developer/qt-qtcreator-prerelease#download

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to