[Paraview] No module named paraview...
Ruggiero Guida
ruggiero.guida at gmail.com
Tue Sep 8 21:18:26 EDT 2015
Hi
I am trying to run paraview scripts from the command line without using the
specific pvpython from paraview (this one works).
This is my setup:
Mac OS X 10.10.5
Paraview 4.3.1
Python 2.7.10 :: Anaconda 2.3.0 (x86_64)
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
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"
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"
I have only 3 python installations in my system: anaconda, system python
and pvpython from paraview. All installed in default directories.
>From the python shell console is I run:
import os
os.environ
I do see the two variables `PYTHONPATH` and `LD_LIBRARY_PATH`.
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
Ruggiero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150909/606d1405/attachment.html>
More information about the ParaView
mailing list