Pyqt/PySide inside Maya/Mobu?

Trying to import PyQt4 or PySide into Maya/MotionBuilder is causing troubles…

While this works fine:
import PyQt4

This breaks:
import PyQt4.QtGui
import PyQt4.QtCore

The error message is:
ImportError: DLL load failed: The specified procedure could not be found.

Windows 7 64, maya/mobu 2011 32 bit

Christian put together an excellent guide on setting up an Eclipse IDE for Maya python development etc. http://tech-artists.org/forum/showthread.php?t=1052. Among other processes, the guide details the steps needed get Pyqt and Maya playing nicely with one another.

Based upon the error that you’re seeing, I suspect that something is amiss with your Pyqt installation. I think I initially ran into a similar issue myself, and if I recall correctly, it may have been related to the following step:
“Replace the sip.pyd with the downloaded one”.

I am facing some difficulties in learning Russian language is anyone here who is able to help me?

[QUOTE=Arnold1;11184]I am facing some difficulties in learning Russian language is anyone here who is able to help me?[/QUOTE]

I think we have a spam bot on the loose!

Thanks for the link! The sip file seems to be for 64 bit, so no good for me as long as we run 32 bit.

Installing a version of of pyqt that was compiled against QT 4.5.3 was the ticket (in MotionBuilder anyway).

This is the installer I used: PyQwt plots data with Numerical Python and PyQt

An extension of QT, but it seems to work… :slight_smile: