Open max3-2 opened 3 years ago
Regarding
I can then start mayavi2
with just some warnings (cant make much of that honestly):
multiple 'traitsui.toolkits' plugins found for toolkit 'qt4': traitsui.qt4, traitsui.qt4
multiple 'tvtk.toolkits' plugins found for toolkit 'qt4': tvtk.pyface.ui.qt4.init, tvtk.pyface.ui.qt4.init
This seems to be baked into pyface entry points being doubled. Any insight? Does not seem critical but maybe should be fixed. plugins
in pyface/base_toolkit
l. 217 has
[EntryPoint(name='qt4', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits'), EntryPoint(name='qt4', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits')]
with
importlib_metadata.entry_points()['pyface.toolkits']
(EntryPoint(name='null', value='pyface.ui.null.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='qt', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='qt4', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='wx', value='pyface.ui.wx.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='null', value='pyface.ui.null.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='qt', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='qt4', value='pyface.ui.qt4.init:toolkit_object', group='pyface.toolkits'),
EntryPoint(name='wx', value='pyface.ui.wx.init:toolkit_object', group='pyface.toolkits'))
I see this too. Standard pip installs on OS X 11.4 Big Sur: Python 3.9; mayavi 4.7.3; vtk 9.0.20210612.dev() from mayavi import mlab -- hangs immediately import mayavi -- runs but fails at mayavi.mlab.clf() # Clear figure AttributeError: module 'mayavi' has no attribute 'mlab'
Hi,
I am currently trying to get mayavi to work under a macOS 11 / Python 3.9 env. Since there are no wheels available, I built vtk from master myself, so im getting
vtk==9.0.20210422
. I can subsequentlyimport vtk
and also install mayavi from either master (python setup.py bdist_wheel
) or justpip install mayavi
with no apparent errors.I can then start
mayavi2
with just some warnings (cant make much of that honestly):However, trying a
from mayavi import mlab
yields the traceback below. I just scanned the issues and following #939 this should (?) be resolved, however it is not for me...Is this fix incoming and not merged or is this a new bug?