Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Python import error of maya.cmds in Sublime Text 2

Python import error of maya.cmds in Sublime Text 2

Anonymous
Not applicable
587 Views
0 Replies
Message 1 of 1

Python import error of maya.cmds in Sublime Text 2

Anonymous
Not applicable
Hi all,

My name is Joseph Alina, I started coding python in maya and everytime I do a build in Sublime Text2 I get the following:

Traceback (most recent call last):
File "C:\pythonInMaya\week4\ja_randomGauss.py", line 3, in <module>
import maya.cmds as mc
ImportError: No module named maya.cmds


What should I do or check for to lose this Import Error. Advice greatly appreciated.

~Joseph
0 Likes
588 Views
0 Replies
Replies (0)