I installed pyvista on my laptop with Ubuntu (version 22) by using the command pip install pyvista. But when I import pyvista, it gives the following error.
ImportError: cannot import name 'vtkExtractEdges' from 'vtkmodules.vtkFiltersExtraction' (/home/ifti/.local/lib/python3.10/site-packages/vtkmodules/vtkFiltersExtraction.cpython-310-x86_64-linux-gnu.so)
What is wrong and how can I fix this?