<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>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.</div>
<div><br>
</div>
<div>export VTK=~/VTK</div>
<div>export PATH=$PATH:$VTK/bin</div>
<div>export PYTHONPATH=$PYTHONPATH:$VTK/lib/python2.7/site-packages</div>
<div>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$VTK/lib</div>
<div><br>
</div>
<div><br>
</div>
<div>From: vtkusers <<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>> on behalf of Tom Parker <<a href="mailto:tomparker@personaltelemetry.com">tomparker@personaltelemetry.com</a>></div>
<div>Date: Tuesday, January 26, 2016 at 12:18 PM</div>
<div>To: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>></div>
<div>Subject: [vtkusers] vtkpython on mac os?</div>
<div><br>
</div>
<div><br>
</div>
<div>Hello All,</div>
<div></div>
<div>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.</div>
<div></div>
<div>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”</div>
<div></div>
<div>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.</div>
<div></div>
<div>I have gotten it working on my linux systems before so I can’t imagine what I’m doing wrong.</div>
<div></div>
<div>Can anyone share a set of working path and environment variables with me?</div>
<div></div>
<div>Thank you,</div>
<div>Tom</div>
</body>
</html>