I've built sourcepy-0.9.3 and maya-0.9.3 using:
- gcc 3.3.4
- maya 7.0.1
- boost 1.33.1
- python 2.4.4 (sourcepy linking with the .a)
Boost and python I built myself, using gcc 3.3.4. I
also hacked the build scripts of sourcepy-0.9.3 and
maya-0.9.3 to use the same gcc (requirement of maya
The pysource plugin loads fine, but when I try to run
"import maya.initmaya" maya crashes with this error:
Python threading enabled
Python 2.4.4 (#2, Apr 5 2007, 13:49:51)
Fatal Python error: Interpreter not initialized
maya encountered a fatal error
Signal: 6 (Unknown Signal)
Attempting to save in
If I try loading the module from command-line python
(the same python used to build sourcepy), it spits out
a warning then freezes. Running strace shows that it
is in some kind of infinite SEGFAULT loop.
The warning is:
RuntimeWarning: to-Python converter for MString
already registered; second conversion method ignored.
from maya._api import *
>From what I can glean via google, the "version
mismatch" error happens when python tries to
initialize an extension module linked with a different
interpreter. I've been very careful to use the same
version of python (and libpython2.4) for building both
sourcepy and maya, so I'm not sure what's happening.
Any ideas? We're getting maya 8.5 soon, but we have
legacy shows still on maya 7.0.1, and I'd like to move
away from writing tools in MEL!
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around