mayavi
mayavi copied to clipboard
When use mlab.figure, got error "AttributeError: type object 'Unimplemented' has no attribute 'process_events'"
I am using the code of OccNerf, and got error as follows:
figure = mlab.figure(size=(render_w, render_w/16*9), bgcolor=(1, 1, 1))
File "/opt/conda/lib/python3.8/site-packages/mayavi/tools/figure.py", line 69, in figure
engine.new_scene(name=name, size=size)
File "/opt/conda/lib/python3.8/site-packages/apptools/scripting/recordable.py", line 48, in _wrapper
result = func(*args, **kw)
File "/opt/conda/lib/python3.8/site-packages/mayavi/core/engine.py", line 453, in new_scene
process_ui_events()
File "/opt/conda/lib/python3.8/site-packages/mayavi/core/common.py", line 81, in process_ui_events
pyface.GUI.process_events()
AttributeError: type object 'Unimplemented' has no attribute 'process_events'
(base) root@hzhb1:~/OccNeRF# conda list mayavi
# packages in environment at /opt/conda:
#
# Name Version Build Channel
mayavi 4.8.2 pypi_0 pypi