SRJ577
SRJ577

Reputation: 31

Maya Error - ModuleNotFoundError: No module named 'maya.cmds'

I am using ubuntu 18.04, python 3.6.

I installed maya using :

pip install maya

then tried to run this :

import maya.cmds

then i got the module not found error.

Then i installed :

pip install maya-cmds-help

But again same error is showing. How can i get rid of this. Any help will be greatly appreciated.

Upvotes: 2

Views: 5568

Answers (2)

geodesicKatsuyu
geodesicKatsuyu

Reputation: 1

If you are attempting to query and edit Maya files without opening an actual Maya session, use mayapy. It's an external Python interpreter that allows you to access maya.cmds

Upvotes: 0

ababak
ababak

Reputation: 1803

The module you install https://pypi.org/project/maya/ has nothing to do with the Autodesk Maya.

Upvotes: 1

Related Questions