Accessing virtual environment within Paraview

I am attempting to access a virtual environment within paraview as described here:

Using Python Virtual environments in ParaView 5.13.0

However, when I try to start paraview with paraview --venv .venv/, The paraview instance crashes as soon as I click on the Python Shell in the GUI. The terminal output is as follows

(py3.10.11) [marc@INBDQ2HPC03N01 run1]$ paraview --venv .venv/
ParaView is using venv: .venv/
VisRTX 0.1.6, using devices:
 0: NVIDIA A40 (Total: 47.7 GB, Available: 47.2 GB)
 1: NVIDIA A40 (Total: 47.7 GB, Available: 47.4 GB)
error: exception occurred: Segmentation fault

My system (Red Hat Linux 8) is built with an older version of Python, and I have installed Python 3.10.11 using conda. I activated the conda enviornment in terminal before running the above paraview command.

The virtual enviornment includes pyVista and some other custom code that I wrote.

I am running Paraview v5.13.2

Any suggestions on how to correct so I can access the virtual environment within paraview?

What is inside your venv and which Python version did you use to create that venv?

  1. It needs to match ParaView => Python 3.10
  2. It can not have different version of packages that are already bundled inside ParaView (i.e. numpy, pandas)

I used the same python version as paraview (3.10.11 if I recall correctly), but I am not sure if the versions of packages inside the venv match those in paraview.

How can I check the version of packages used by paraview?

just remove the ones from your venv that exist in ParaView