PDA

View Full Version : Setup Env from Python


noobmode
12-01-2012, 03:15 PM
Hello
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

Panupat
12-02-2012, 03:12 AM
Try double backslashes. Or change then to forward slashes

noobmode
12-02-2012, 03:30 AM
Its okay to use mayapy to call maya standalone, maybe the maya standalone package is store somewhere else?

CGTalk Moderation
12-02-2012, 03: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.