Adding Python modules to Maya Libs, RuntimeError R6034

Adding Python modules to Maya Libs, RuntimeError R6034

mhamid3d
Enthusiast Enthusiast
962 Views
0 Replies
Message 1 of 1

Adding Python modules to Maya Libs, RuntimeError R6034

mhamid3d
Enthusiast
Enthusiast

I am trying to add libraries to Maya's python environment, I have used `get-pip.py` to install pip for maya's python interpreter. Some modules with C libraries result in RuntimeError's when trying to import them in the maya script editor.

 

As a small example I install pyyaml and bson to the maya python. yaml works just fine, it imports. when I try to import bson I get an error.

 

# This works fine
import yaml

# This shows a popup error
import bson

 

Here is the full error message:

 

Runetime Error!

Program: C:\Program Files\Autodesk\Maya2020\bin\maya.exe

R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
0 Likes
963 Views
0 Replies
Replies (0)