View Full Version : Setup Env from Python

12 December 2012, 04:15 PM
I follow some tutorial and setup env for Python by adding the pythonPath and mayaLocation in Environment Variables of Window

PYTHONPATH C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages\
MAYA_LOCATION C:\Program Files\Autodesk\Maya2012\

But when i run python and try to import maya.standalone, it gave me an error said that the module cound not be found. I had check the sys.path again to make sure it in there.

Anything would help, thanks

12 December 2012, 04:12 AM
Try double backslashes. Or change then to forward slashes

12 December 2012, 04:30 AM
Its okay to use mayapy to call maya standalone, maybe the maya standalone package is store somewhere else?

CGTalk Moderation
12 December 2012, 04:30 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.