[vtkusers] install python wrapping on Mac 10.7

David Gobbi david.gobbi at gmail.com
Fri Oct 26 17:33:35 EDT 2012


Hi Shiyan,

Did "make install" give an error, or did it just do nothing?  I have seen the
following error on some systems:

  "This directory does not currently exist.  Please create it and try again,
  or choose a different installation directory (using the -d or
  --install-dir option)."

If you get the error that I quoted above, then setup.py is telling you that it
needs you to specify a site-packages directory that already exists and is
in the python path.

If "make install" didn't give any error, then your problem is something else.

 - David


On Fri, Oct 26, 2012 at 2:01 PM, Shiyuan <gshy2014 at gmail.com> wrote:
> Hi all,
>        I tried to install vtk 5.8.0 on my mac 10.7 with Xcode 4.2. The
> `cmake` and `make` is successful but make install doesn't copy the python
> module( eg. VTK/wrapping/Python/vtk/__init__.py) to the
> $prefix-dir/lib/python2.7/site-packages.  The values I set are
> cmake -DCMAKE_INSTALL_PREFIX=$prefix-dir -DBUILD_SHARED_LIB=ON
> -DVTK_WRAP_PYTHON=ON.
>
> Any step did I miss? Thanks.



More information about the vtkusers mailing list