Hi,
I am used to use Fenics on Colab and, until few weeks ago, it was working properly.
However, now it’s showing an error when I try to install it on Colab.
That’s my code:
try:
import dolfin
except ImportError as e:
!apt-get install -y -qq software-properties-common
!add-apt-repository -y ppa:fenics-packages/fenics
!apt-get update -qq
!apt install -y --no-install-recommends fenics
!sed i ‘s|#if PETSC_VERSION_MAJOR == 3 && PETSC_VERSION_MINOR <= 8 && PETSC_VERSION_RELEASE == 1|#if 1|’ /usr/include/dolfin/la/PETScLUSolver.h
!pip3 -q install --upgrade sympy
import dolfin
And that’s the Error: