Insitu python script errors when using Annotate Global Data filter
I created an insitu script to generate an image and create an annotation using the Annotate Global Data filter. When using this script, an error about "numpy not found" shows up. An image gets generated, but the annotations just say "(error)".
I dumped the data using Paraview 5.5, and created the script in Paraview 5.5. @patchett2002
Error I get:
Traceback (most recent call last):
File "", line 7, in
File "", line 2, in vtkAnnotateGlobalDataFilter_EvaluateExpression
File "/usr/projects/hpcsoft/toss3/snow/paraview/5.5.0-osmesa_intel-17.0.4_openmpi-2.1.2_python-2.7-anaconda-4.1.1/lib/python2.7/site-packages/paraview/annotation.py", line 22, in
raise RuntimeError("'numpy' module is not found. numpy is needed for "
RuntimeError: 'numpy' module is not found. numpy is needed for this functionality to work. Please install numpy and try again.
Insitu script: image_pv5.5.py
Below are is an example of the resulting image when run insitu:
Below is a screenshot of the Paraview gui, and what the image should look like: