[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:39:13 EDT 2014


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


More information about the vtkusers mailing list