[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 12:30:32 EDT 2014


On Thu, Sep 25, 2014 at 10:15 AM, Marco Salatin <marco.salatin at gmail.com> wrote:
> I add this:
>
> VTK_INSTALL_PYTHON_MODULE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
>
> is correct?

No, I don't think that will work.  The setting that I recommended was
the following, because it is where all third-party python modules are
installed on my system:

VTK_INSTALL_PYTHON_MODULE_DIR:PATH=/Library/Python/2.7/site-packages

Did you install your own python, instead of using the python that
comes with OS X? If so, you might have to check to see what its
default module path is:

import sys
print sys.path

 - David


More information about the vtkusers mailing list