Hey Oliver thanks a lot for the response.

I set the path as you have suggest and get a new error in python now:

ImportError: libMaya.so: cannot open shared object file: No such file or
directory

Does that error imply that it's not seeing the lib directory properly?

Thanks again.


On Tue, Oct 28, 2008 at 2:35 AM, Olivier Renouard <
[EMAIL PROTECTED]> wrote:

>
> [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