#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 feedingfatalfairies@…): Replying to [comment:2 jjstickel@…]:
py27-mayavi with vtk (vtk @6.1.0_0+python27) works for me. Can you describe what you are doing when you see the error? Perhaps you can provide a minimum self-constrained python script? I suspect that something may be wrong with your vtk installation. You can try one of the tutorial examples in the vtk-6.1 sources (http://www.vtk.org/files/release/6.1/VTK-6.1.0.tar.gz). For example,
{{{ $ python Cone5.py }}}
should work.
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. 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) }}} -- Ticket URL: <https://trac.macports.org/ticket/46976#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X