I was able to include dolfinx in my google colab by using these lines:
try:
import dolfinx
except ImportError:
!wget "https://fem-on-colab.github.io/releases/fenicsx-install-release-real.sh" -O "/tmp/fenicsx-install.sh" && bash "/tmp/fenicsx-install.sh"
import dolfinx
I am unsure how to install dolfinx_mpc in google colab.
It only seem to be able to be done through conda. Has anyone figured a work around with this or a simple solution to do this?