I think your running maya x64 as well. If you are, and I'm almost certain by the dll error. You problem is that you've installed PyQt compiled against python 32bit. Maya 2009x64 is using 2.5x64. Hence the dll error. You'll need to download Qt not PyQt 1st. Then download the source of PyQt as well as the source of SIP. Then compile it for python2.5x64. If you are not used to compiling things then this is a tuff job. I did it for pyhton 2.6x64 and Qt4.5. Some notes I posted on another forum about how I managed to achieve it....
I installed MVS 2008 Downloaded Qt (not PyQt) Followed this tutorial for compiling 64bit Qt, I didn't bother with the rest of it as I'm not using visual studio. http://blog.shadowgears.com/2008/10/making-qt4-dance-with-msvc-2008.html http://www.diotavelli.net/PyQtWiki/BuildPyQt4Windows then I followed the second tutorial but modified it to use the MSVCx64 prompt istead of C:\tmp\sip-snapshot-20070704> C:/Python25/python configure.py -p win32- g++ etc I did using MCSx64 cmd line C:\tmp\sip-snapshot-20070704> C:/Python26x64/python configure.py C:\tmp\sip-snapshot-20070704>nmake C:\tmp\sip-snapshot-20070704>nmake install On May 30, 6:47 pm, anuska <[email protected]> wrote: > Hello everyone! > > I'm trying to install PyQt on Window Vista (64 bits) with no success. > > I have Python 2.5.1 and Maya 2009 installed, so I have downloaded: > > - PyQt-Py2.5-gpl-4.4.3.1.exe: PyQt 4.4.3 for Qt 4.4.1 and Python 2.5. > - PyQt-Py2.5-gpl-4.4.2.1.exe: PyQt 4.4.2 for Qt 4.4.0 and Python 2.5. > > I've tryed by installing both, but with both i get stuck at the same > point: executing the PyQt Demo to check if the library works on the > system. The demo doesn't run and if i open a python console and type: > import PyQt4.QtCore, i get the error: > > >> import PyQt4.QtCore > > Traceback (most recent call last): > File "<pyshell#0>", line 1, in <module> > import PyQt4.QtCore > ImportError: DLL load failed with error code 193 > > How do i install PyQt? > Thanks in advance, > Ana --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
