Hello all,
I am trying to use the programmable filter in a python script, but it
is not able to find the paraview module.
the code:
ProgrammableFilter1 = ProgrammableFilter()
ProgrammableFilter1.Script = 'print "something"'
Show()
gives the error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named paraview
since I run all my scripts with pvpython, the path should be set up
properly, but I am wondering if ProgrammableFilter is invoking a
different version of python?
Thanks
Colin
--
Colin McAuliffe
PhD Candidate
Columbia University
Department of Civil Engineering and Engineering Mechanics
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview