Python Maya Externer Interpreter

Hello everyone,
i have a problem with Python and Maya.
I want to run Maya with an external interpreter. I have
the Python Version 2.5.1 and Maya 8.5 and 2008.

i get one Error if i want to import maya.standalone.

####
Traceback (most recent call last):
File "", line 1, in
import maya.standalone
ImportError: DLL load failed with error code 193
####

i set the two system variable
PYTHONPATH and MAYA_LOCATION

can someone tell me if i can fix this Problem

Thanks

I already had this type of dll error in python when I try to import a 32 bit python module in a 64 bit python interpreter.

are you loading maya 32 or 64 bit in python? what version of python are you using? 32 or 64 bit?

that might be the problem

it will be useful if you ask your question in Maya-Python Club.
http://groups.google.com/group/python\_inside\_maya

Thank you for this information

the problem was, that Maya 8.5 has the PythonVersion 2.4, but i installed Python 2.5.

That was no good Idea

remember:

mayapy is a fully functional external interpreter that sits inside of your maya/bin directory.

1 Like