Install Fenicsx in a Ubuntu Python environment

If I install Fenicsx on Ubuntu (WSL2) with the suggested instructions

sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt update
sudo apt install fenicsx

I’m not able to install some additional modules needed to run the very first demo of the tutorial, like pyvista, because the system complains about installing modules system-wide, outside a Python environment. So my question is, how can I install the Python modules of Fenicsx inside a Python environment? Thanks in advance for any help.

As you are using the apt Python, you simply supply —break-system-packages when doing pip install of another package.