You don't need to add environment vars. You need to set your interpreter
paths up in pydev, and the paths associated with your projects. You will
also need to point to a special "completion" directory so you get more than
an empty cmds module. Search this thread for it, or do a general web search
- there's plenty of coverage.

On Fri, Jan 28, 2011 at 11:34 PM, Taylor Carrasco <[email protected]>wrote:

> I'm just trying to set up my environment variables for Maya 2011 and
> Windows 7
>
> I’m using Eclipse, and have not been able to get any of maya.cmds to work
> importing maya.cmds works, however a dir on maya and cmds results in the
> following
>
> I’ve tried adding “*C:\Program
> Files\Autodesk\Maya2011\Python\Lib\site-packages*” to Eclipse’s
> PYTHONPATH, but have no idea what to add to my computers Environment
> variables.
>
> Can someone give me a list of what environment variables I need to change
> on the computer to get this to work properly, the following should show a
> lot more available methods right?
>  import maya
> print 'maya\n', dir(maya)
>
> from maya import cmds
> print 'cmds\n', dir(cmds)
>
> maya
> [’__builtins__’, ‘__doc__’, ‘__file__’, ‘__name__’, ‘__package__’,
> ‘__path__’]
> cmds
> [’__builtins__’, ‘__doc__’, ‘__file__’, ‘__name__’, ‘__package__’,
> ‘__path__’]
>
>  --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to