[vtkusers] Compile VTK under Mac Os X 10.9.5 with python 2.7.8

David Gobbi david.gobbi at gmail.com
Thu Sep 25 08:31:07 EDT 2014

Hi Marco,

The easiest thing to do is set this variable in your cmake cache and
then run "make" and "make install" again:


By default, VTK installs all files within the "install prefix" /usr/local,
so the python modules go into /usr/local/lib/python2.7/site-packages.
Unfortunately, Apple's python doesn't look for packages there.

 - David

On Thu, Sep 25, 2014 at 4:08 AM, Marco Salatin <marco.salatin at gmail.com> wrote:
> Hi,
>     how can i compile VTK under Mac Os X 10.9.5 with python 2.7.8?
> First i download source, then cmake . , make and sudo make install. But
> python don't find vtk:
> ImportError: No module named vtk
> Thanks for help!
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Compile-VTK-under-Mac-Os-X-10-9-5-with-python-2-7-8-tp5728870.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://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list