Installation Error: tIGAr Module Not Found in Fenics 2019.2.0.dev0

Hello,
I followed the installation instructions for tIGAr, but when I try to import it, I encounter the following error:

>>> import tIGAr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/cna/Desktop/program/tIGAr/tIGAr/__init__.py", line 1, in <module>
    from tIGAr.common import *
  File "/home/cna/Desktop/program/tIGAr/tIGAr/common.py", line 27, in <module>
    import ufl.equation
ModuleNotFoundError: No module named 'ufl'

My Fenics version in ubuntu 23.04 is as follows:
dolfin version: 2019.2.0.dev0

I would appreciate it if you could guide me on how to resolve this issue.

Tigar has probably not been updated to use ufl_legacy:

so you would either have to:

  • pin ufl to an older version
  • update the tigar source code to use ufl_legacy
1 Like