Quantcast
Channel: StudioSysAdmins Message Board
Viewing all articles
Browse latest Browse all 3749

PyQT and Maya issues on Mac OSX 10.8.2

$
0
0
By Francisco Lima -
Hello guys!

We're currently using Maya on Mac Pro Workstations on OSX 10.8.2 but we're facing several issues when trying to load the interface of the tools we are developing in?PyQT?withing Maya.
The Maya menu disappears and it then crashes.

Maya does recognise?PyQt.

We are pointing Maya to the Qt site dir using "site.addsitedir" and that works fine.

Maya even loads whole PyQt4 module.

The issue is when we try to load the QtCore and QtGui modules to access our Application interface.

?Maya generates:

"ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/PyQt4/_qt.so, 2): Symbol not found: _PyCapsule_Type"

If we load these modules stand alone in the system they work fine. This just happens when loading through Maya.

This may be due to a mismatch between 32 and 64bit versions of Qt.

The solution would be to compile a 64bit only version of ?PyQt?for Mac and try to load it through Maya.

If this works we could then re-distribute this custom compile of?PyQt?to the other VFX machines so they can load our tools with no issues.

Any of you having similar issues or have any ideas of how to solve this?

Best Rdgds

Chico


Viewing all articles
Browse latest Browse all 3749

Trending Articles