[vtkusers] vtkpython on mac os?
Tom Parker
tomparker at personaltelemetry.com
Tue Jan 26 17:25:20 EST 2016
Thank you! I'll test it and let everyone know if it works for me.
From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Meehan, Bernard
Sent: Tuesday, January 26, 2016 2:41 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkpython on mac os?
This is what I am using in my ~./bash_profile, you may not need all of it, but it worked once and I just never changed it.
export VTK=~/VTK
export PATH=$PATH:$VTK/bin
export PYTHONPATH=$PYTHONPATH:$VTK/lib/python2.7/site-packages
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$VTK/lib
From: vtkusers <vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>> on behalf of Tom Parker <tomparker at personaltelemetry.com<mailto:tomparker at personaltelemetry.com>>
Date: Tuesday, January 26, 2016 at 12:18 PM
To: "vtkusers at vtk.org<mailto:vtkusers at vtk.org>" <vtkusers at vtk.org<mailto:vtkusers at vtk.org>>
Subject: [vtkusers] vtkpython on mac os?
Hello All,
I've download the latest vtkpython-7.0.0.rc2-Darwin-64bit.dmg to my mac with El Capitan and I've fought with it for hours.
I can run the examples successfully, but only from the /Applications/vtkpython/bin folder, if I try from any other folder I get the message "ImportError: No module named vtk"
After reading the docs, googling and reading the mailing lists I've tried every combination of PYTHONHOME, PYTHONPATH, LD_LIBRARY_PATH and DYLD_LIBRARY_PATH I can imagine with no joy.
I have gotten it working on my linux systems before so I can't imagine what I'm doing wrong.
Can anyone share a set of working path and environment variables with me?
Thank you,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160126/d009111d/attachment.html>
More information about the vtkusers
mailing list