Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mayapy 2019: No module named _OpenMaya

1 REPLY 1
Reply
Message 1 of 2
Anonymous
628 Views, 1 Reply

mayapy 2019: No module named _OpenMaya

Hi.
When I start mayapy through the console

/opt/maya2019/bin/mayapy

and make import 

from pymel.core import *

and result:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/autodesk/maya2019/lib/python2.7/site-packages/pymel/core/__init__.py", line 6, in <module>
    import pymel.versions as _versions
  File "/usr/autodesk/maya2019/lib/python2.7/site-packages/pymel/versions.py", line 13, in <module>
    from maya.OpenMaya import MGlobal as _MGlobal
  File "/local/S/Maya_2019_DI/build/optim/runTime/lib/python2.7/site-packages/maya/OpenMaya.py", line 21, in <module>
  File "/local/S/Maya_2019_DI/build/optim/runTime/lib/python2.7/site-packages/maya/OpenMaya.py", line 20, in swig_import_helper
  File "/usr/autodesk/maya2019/lib/python27.zip/importlib/__init__.py", line 37, in import_module
    
ImportError: No module named _OpenMaya

How can I solve this problem?
Note: There is no such problem in Maya 2017

 

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Debian GNU/Linux 8 (jessie) 64-bit

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report