Python and paraview.simple libprotobuf error
I want to automate my use of paraview using python. I'm using Python 2.7, Paraview 3.14.1 on Ubuntu 12.04 LTS. However, I am having problems loading the required modules to write the python script. I was initially able to load paraview.simple a few times, then I received the errors described below. I tried restarting Ubuntu. A shot in the dark, I know, but I don't know what else to do. I just tried to load some of the other modules: paraview.pvfilters, paraview.vtk, and paraview.util loaded; while paraview.servermanager gave the same error as paraview.simple.
When I run Code:
import paraview.simple Code:
libprotobuf ERROR /build/buildd/paraview3.14.1/Utilities/protobuf/src/google/protobuf/descriptor_database.cc:57] Code:
import paraview Code:
NAME Code:
help(paraview.simple) I should probably note the recommended way to load the module Code:
try: paraview.simple Edit I'm going to try to see if following the rabbit hole from this https://github.com/BVLC/caffe/issues/1917 will fix the issue. |
Version control
The error must be with the version that the module loads from. When I run the scripts as using pvpython instead of python, the module loads correctly and indicates that the version is 4.1.
|
All times are GMT -4. The time now is 07:36. |