Unable to use IParaView


After starting jupyter-lab, with the IParaview kernel enabled, I get the following error:

[I 2023-08-20 07:32:17.711 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Traceback (most recent call last):
  File "/usr/local/lib64/python3.11/site-packages/paraview/__init__.py", line 217, in <module>
    from .modules import vtkRemotingCore
ImportError: Failed to load vtkRemotingCore: No module named paraview.modules.vtkRemotingClientServerStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/reshma/.local/share/jupyter/kernels/IParaView/paraview_kernel.py", line 191, in <module>
  File "/home/reshma/.local/share/jupyter/kernels/IParaView/paraview_kernel.py", line 144, in main
    app.shell.run_cell(IPARAVIEW_PRELUDE.format(host, port)).raise_error()
  File "/home/reshma/.local/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 268, in raise_error
    raise self.error_in_exec
  File "/home/reshma/.local/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "/tmp/ipykernel_7339/1160861686.py", line 5, in <module>
    from paraview.simple import *
  File "/usr/local/lib64/python3.11/site-packages/paraview/__init__.py", line 219, in <module>
    import _paraview_modules_static
ModuleNotFoundError: No module named '_paraview_modules_static'

Can anyone please suggest me a direction I should go to fix this? @tgalland ?