I setup Eclipse IDE for editing and debugging Maya scripts. When I try to run the code:
import maya.cmds as cmds cmds.ls() in Eclipse I get the error:
import maya.cmds as cmds NameError: Can't find file for module maya (filename C:\Users\shivani\My Documents\maya) I configured eclipse to use maya and python like the following:

I don't understand what is the problem or I'm not able to use Eclipse properly?