我在osbook 10.8.3的macbook pro视网膜上有Enthought's Canopy。调用任何mayavi.mlab函数时,我得到崩溃转储(见下文)。有人有线索吗。不管怎样,谢谢!
(Canopy 32bit) MacBook-Pro-de-Ignacio:~ idiaz$ ipython --pylab=auto
Python 2.7.3 | 32-bit | (default, Mar 25 2013, 15:42:04)
Type "copyright", "credits" or "license" for more information.
IPython 1.0.dev -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Welcome to pylab, a matplotlib-based Python environment [backend: WXAgg].
For more information, type 'help(pylab)'.
In [1]: import enthought.mayavi.mlab as mlab
In [2]: mlab.clf()
2013-04-17 21:23:49.556 Python[322:f0b] -[NSHIObject window]: unrecognized selector sent to instance 0x5b4cff0
2013-04-17 21:23:49.557 Python[322:f0b] HIToolbox: ignoring exception 'NSInvalidArgumentException' that raised inside Carbon event dispatch
(
0 CoreFoundation 0x90e6fe9b __raiseError + 219
1 libobjc.A.dylib 0x9172052e objc_exception_throw + 230
2 CoreFoundation 0x90e73b0d -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
3 CoreFoundation 0x90dbbe97 ___forwarding___ + 487
4 CoreFoundation 0x90dbbc42 _CF_forwarding_prep_0 + 50
5 AppKit 0x94bca0b4 -[NSOpenGLContext setView:] + 62
6 libvtkRendering.5.6.0.dylib 0x14776519 _ZN20vtkCocoaRenderWindow13CreateAWindowEv + 3609
7 Python 0x000c5c7b PyEval_EvalFrameEx + 30843
8 Python 0x000c5c7b PyEval_EvalFrameEx + 30843
9 Python 0x000c6d5c PyEval_EvalCodeEx + 1996
10 Python 0x000418fb function_call + 139
11 Python 0x00010045 PyObject_Call + 85
12 Python 0x00022565 instancemethod_call + 389
13 Python 0x00010045 PyObject_Call + 85
14 Python 0x000bd18e PyEval_CallObjectWithKeywords + 78
15 _core_.so 0x062a46dc _ZN12wxPyCallback12EventThunkerER7wxEvent + 236
)