[EMAIL PROTECTED] wrote:
> Hey Everyone,
>
> I've managed to get maya.standalone working fine with python without
> Eclipse. When I try to run the same commands in eclipse it doesn't
> work. I've trying linking various things in the Python Interpreter
> section of Eclipse without any luck. Does anyone have any experience
> setting this up?
>
> Cheers,
> Shawn
> >
>
>   
Hi,

On Linux at least it works for me. I need to set the env var
LD_LIBRARY_PATH=/usr/autodesk/maya2008-x64/lib in the python interpreter
option (environment) in Pydev/Eclipse. It's easier to choose
/usr/autodesk/maya2008-x64/bin/mayapy as the interpreter as it will set
several env var for you, but it's also possible to use the system Python
if veriosn is compatible. I think in Windows LD_LIBRARY_PATH is not
disctinct form the main PATH, so it is the variable you need to set.
MAYA_LOCATION and MAYA_APP_DIR are set as env var for the session.

-- 
Olivier Renouard



--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to