#46976: py27-mayavi referencing vtk6 i.o. vtk5 ------------------------------------+------------------------- Reporter: feedingfatalfairies@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-mayavi | ------------------------------------+------------------------- Comment (by jjstickel@…): Replying to [comment:3 feedingfatalfairies@…]:
I'm just starting mayavi from the command line with:
{{{ mayavi2-2.7 }}}
The window opens, than I get the error. Same from python/ipython
I've tried all six examples in the VTK-6.1.0/Examples/Tutorial/ folder, they work flawlessly.
That is good. VTK-6 is working fine.
What I have installed is this:
{{{ python27 @2.7.9_0 (active) py27-mayavi @4.4.0_0 (active) py27-wxpython-2.8 @2.8.12.1_0+gtk (active) vtk @6.1.0_0+python27 (active) }}}
It also opens Xquartz, of which I have the latest version.
{{{ XQuartz 2.7.7 (xorg-server 1.15.2) }}}
OK, X11-gtk and wxpython-2.8 are no longer supported. I highly recommend that you uninstall py27-wxpython-2.8 unless you are using it for another reason. Check that you have py27-pyface @4.4.0_1 installed. It will by default install the pyqt4 variant. If you do not have wxpython installed (2.8 OR 3.0), Mayavi should just work. If you have wxpython installed but you want to use the qt4 backend (preferred), you must specify it with the ETS_TOOLKIT environment variable, e.g.: {{{ $ ETS_TOOLKIT=qt4 mayavi2-2.7 }}} Please see if that works for you. -- Ticket URL: <https://trac.macports.org/ticket/46976#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X