[Paraview] No module named paraview.simple on MacOs sierra

the lily the.1.lily at hotmail.com
Fri Nov 3 15:49:26 EDT 2017


Hello,


I'm trying to run the following example

https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED-/blob/master/PythonFullExample/cpscript.py


on MacOs sierra using Paraview 5.4.1, I'm getting the following error


File "cpstate.py", line 1, in <module>
    from paraview.simple import *
ImportError: No module named paraview.simple


I tried doing the following:

export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/bin

But that did not fix it, are there are other paths I should include? or anyway to get around this error?

Thanks!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171103/98487466/attachment.html>


More information about the ParaView mailing list