Paraview 5.9.0 cannot find Matplotlib.

I install matplotlib but, Paraview cannot find matplotlib 2.6.1.
Matplotlib exist in the similar path as numpy.


Are there compile flags or settings I can make Paraview find matplotlib?

Relate: I Flatpak Paraview, any thought? - #2 by Andythe_great


Client Information:
Version: 5.9.0
VTK Version: 
Qt Version: 5.15.2
vtkIdType size: 64bits
Embedded Python: On
Python Library Path: /usr/lib/python3.8
Python Library Version: 3.8.8 (default, Nov 10 2011, 15:00:00)  [GCC 10.2.0]
Python Numpy Support: On
Python Numpy Path: /app/lib/python3.8/site-packages/numpy
Python Numpy Version: 1.20.1
Python Matplotlib Support: Off
Python Testing: Off
MPI Enabled: On
Disable Registry: Off
Test Directory: 
Data Directory: 
OpenGL Vendor: Intel Open Source Technology Center
OpenGL Version: 4.2 (Core Profile) Mesa 20.3.4 (git-6d8c68603f)
OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)

Connection Information:
Remote Connection: No

You need to enable VTK_MODULE_ENABLE_VTK_RenderingMatplotlib cmake option.

Edit: incorrect, see below.

enabling the module should not affect if ParaView reports matplotlib is found. Try calling import matplotlib in the Python shell in ParaView or pvpython. I suspect it’s failing.

1 Like

Thank you. It is missing pyparsing.

Also if you don’t mind, could you give some comments on my Flatpak for Paraview?