<div dir="ltr">
<p class=""><span class="">Hi </span></p><p class=""><span class=""><br></span></p><p class="">I am trying to run paraview scripts from the command line without using the specific pvpython from paraview (this one works).</p><p class=""><br></p><p class="">This is my setup:</p><p class=""><br></p><p class=""> Mac OS X 10.10.5</p><p class=""> Paraview 4.3.1 </p><p class=""> Python 2.7.10 :: Anaconda 2.3.0 (x86_64)</p><p class=""><br></p><p class="">I have tried several solutions that are supposed to work (but don't, at least for me) and ended up with the two env variable definitions in my .bash_profile</p><p class=""><br></p><p class=""> export PYTHONPATH="/Applications/paraview.app/Contents/Libraries:/Applications/paraview.app/Contents/Python/paraview:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Python/paraview"</p><p class=""><br></p><p class=""> export LD_LIBRARY_PATH="/Applications/paraview.app/Contents/Libraries:/Applications/paraview.app/Contents/Python/paraview:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Python/paraview"</p><p class=""><br></p><p class="">I have only 3 python installations in my system: anaconda, system python and pvpython from paraview. All installed in default directories.</p><p class=""><br></p><p class="">From the python shell console is I run:</p><p class=""><br></p><p class=""> import os</p><p class=""> os.environ</p><p class=""><br></p><p class="">I do see the two variables `PYTHONPATH` and `LD_LIBRARY_PATH`.</p><p class=""><br></p><p class="">Honestly I have no idea of what else to try. This seems to be a common issue given the number of people that ask the same question. It also seems not to be limited to paraview. Thanks</p><p class=""><span class=""></span></p><p class="">Ruggiero</p></div>