|
Hi everyone.
I manage to install PyQt module in my computer from this forum : Area Tutorial
And with this site’s post: Nathan Horne
Where I downloaded PyQt-Py2.6-x64-gpl-4.8.3-1.exe
It works very well in Maya2012 x64 !
But, in Motionbuilder2012 x64, I am able to import PyQt4.QtCore but NOT PyQt4.QtGui !
Python 2.6.4 (r264:75708, Oct 26 2009, 07:36:50) [MSC v.1500 64 bit (AMD64)] on win32 >>> import os >>> os.sys.path.append(MYINSTALLPATH)
>>> import PyQt4 >>> import PyQt4.QtCore >>> print PyQt4.QtCore.__file__
MYINSTALLPATH+'\PyQt4\QtCore.pyd' >>> print dir(PyQt4) ['QtCore', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__'] >>> import PyQt4.QtGui
Traceback (most recent call last):
File "<MotionBuilder>", line 1, in <module> ImportError: DLL load failed: The specified procedure could not be found.
I also tried to add : site.main() without any success.
If I am right, the problem is that Maya deals well with PyQt 4.8, but MoBu needs specificly a 4.5 version of it.
But with several tries, I haven’t find anything in 64bits to download.
I really want to do some uiTools in both of the softwares with one code only, did anyone have this kind of problem ? Do you have any ideas about a workaround ?
|