Maya Library Mode, Missing Python Module

So, maybe you are trying to execute Autodesk Maya in Library Mode, you will get some python error, it can't find Maya's python modules. You should add enviroment variables in you Visual Studio's project, like this

MAYA_LOCATION=C:\Program Files (x86)\Autodesk\Maya2008
PYTHONHOME=C:\Program Files (x86)\Autodesk\Maya2008\Python
PYTHONPATH=C:\Program Files (x86)\Autodesk\Maya2008\bin\Python25.zip;C:\Program Files (x86)\Autodesk\Maya2008\Python\lib\site-packages 

 

I am working on hair procedural DSO which like Houdini and some PBR rendering shader in my free time.

See you soon.

posted on 2010-02-09 12:52  Bo Schwarzstein  阅读(868)  评论(0编辑  收藏  举报