问题
I am new to using python and have had some trouble getting the mlab module within mayavi to work. In my script I can import mayavi just fine, but when I include the line: from mayavi import mlab
it produces the error:
Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6
I have spent a few hours trying to fix this error, but have come up empty handed. Does anyone know why this line specifically crashes? I can import other modules just fine, but the mlab one doesn't work. Thanks!
来源:https://stackoverflow.com/questions/30995177/from-mayavi-import-mlab-error