Numpy package not found in paraview 5.10


I get a run time error when I try to use python calculator filter in paraview 5.10 in ubuntu 20.04. Stating that numpy package is not there in python library.

Traceback (most recent call last):
File “”, line 2, in
File “/opt/paraviewopenfoam56/lib/python2.7/site-packages/paraview/”, line 9, 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.

How to over come this issue ?

How did you install it ?

Hello Mathieu,

After the following error I uninstalled paraview and reinstalled it again in ubuntu 20.04. I downloaded parview for linux (ParaView-5.10.0-MPI-Linux-Python3.9-x86_64.tar.gz). Then I extracted the files and installed via sudo apt install paraview. After installation, when I opened paraview GUI, I came to know that the installed version is 5.7. Am I doing something wrong, I am not a confident ubuntu user so correct me if I am doing it in wrong way.

P.S: I don’t have any openfoam installed priorly.

That doesnt make sense, just extract and use ParaView.