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

Marco Salatin marco.salatin at gmail.com
Fri Sep 26 02:20:09 EDT 2014


Ok thaks for help!

If i need to use vtk and pyqt5 is possible?

2014-09-25 18:39 GMT+02:00 David Gobbi <david.gobbi at gmail.com>:

> In that case, yes, the directory you mentioned should work for your python.
>
>
> On Thu, Sep 25, 2014 at 10:32 AM, Marco Salatin <marco.salatin at gmail.com>
> wrote:
> >>>> print sys.path
> > ['',
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
> > '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
> > '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
> >
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages']
> >
> >
> > 2014-09-25 18:30 GMT+02:00 David Gobbi <david.gobbi at gmail.com>:
> >>
> >> 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
> >
> >
> >
> >
> > --
> > ---
> > www.salatin.eu
>



-- 
---
www.salatin.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140926/872e0fce/attachment.html>


More information about the vtkusers mailing list