[vtkusers] wx python scripts segfault

David Gobbi david.gobbi at gmail.com
Thu Nov 3 19:52:05 EDT 2011


The VTK 5.8 release includes the wxVTKRenderWindowInteractor patch,
the python 2.7 patch, and a few Lion-related patches.

 - David


On Thu, Nov 3, 2011 at 5:12 PM, cjauvin <cjauvin at gmail.com> wrote:
> I just set up VTK 5.6.1 on a brand new MacBook Air running Lion, using
> MacPorts 2.0.3.
>
> I had to perform the exact same fix, in the same file, for me now located:
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/wx/wxVTKRenderWindowInteractor.py
>
> And I'm very happy to report that my somewhat complex Python-VTK application
> works like a charm on this new platform, which is *very* nice!
>
> Some things possibly of interest to people wanting to go this
> stress-inducing way:
>
> * Although Python 2.7 was on my base system before I started the whole
> process (I don't know if it comes included, or if it was included by
> Xcode?), the VTK installation is performed (and only compatible with) for
> Python 2.6; everything is taken care of very nicely by MacPorts, but you
> have to be aware of this, because it is somewhat disheartening to wait for a
> *long* time for everything to build, and then be rewarded by an ImportError
> when trying to "import vtk"..
>
> * It takes *ages*, because everything has to be built from scratch (that's
> the way MacPorts seems to be working).. I had many additional Python
> modules, adding to the total time (and triggering the build of no more than
> TWO gcc versions!) but all in all, I can report that the wait was really
> worth it.
>
> Thank you VTK team for such a nice and truly cross-platform/language
> product!
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/wx-python-scripts-segfault-tp1234471p4962625.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list