MLibrary and python Maya 2010

30 views
Skip to first unread message

julian mann

unread,
Nov 23, 2009, 12:32:24 PM11/23/09
to maya_d...@googlegroups.com
Hi - Does anyone know how I set the python environment to find maya python modules when building a standalone with MLibrary. (linux 64)

my app worked fine in maya 2009 - but in 2010 not even the example apps work.

If I just compile and run, fior example asciiToBinary, I get this::

'import site' failed; use -v for traceback
ImportError: No module named maya.app.python
Invalid Python Environment: Python is unable to find Maya's Python modules
Python Evironment:
  PYTHONHOME not set!
ImportError: No module named site
  Python cannot find site module!
  Python cannot find sys module!
ImportError: No module named maya.app.python
Invalid Python Environment: Python is unable to find Maya's Python modules
Python Evironment:
  PYTHONHOME not set!
ImportError: No module named site
  Python cannot find site module!
  Python cannot find sys module!
ImportError: No module named maya
ImportError: No module named maya.cmds
ImportError: No module named maya.utils
ImportError: No module named maya.mel
ImportError: No module named maya.app
Invalid Python Environment: Python is unable to find Maya's Python modules
Python Evironment:
  PYTHONHOME not set!
ImportError: No module named site
  Python cannot find site module!
  Search path (sys.path):


etc.

Cheers

julian

julian mann

unread,
Nov 23, 2009, 12:52:35 PM11/23/09
to maya_d...@googlegroups.com
never mind



2009/11/23 julian mann <julia...@gmail.com>
Reply all
Reply to author
Forward
0 new messages