I had FEniCS running smoothly on my Ubuntu. Unfortunately, I allowed Ubuntu to update itself today. Suddenly I have the following errors, even with basic code such as "demo_poisson.py".
How can I fix it?
Traceback (most recent call last):
File "demo_poisson.py", line 37, in <module>
from dolfin import *
File "/usr/lib/python2.7/dist-packages/dolfin/__init__.py", line 4, in <module>
import dolfin.importhandler
File "/usr/lib/python2.7/dist-packages/dolfin/importhandler/__init__.py", line 39, in <module>
__import__(dep)
File "/usr/lib/python2.7/dist-packages/ffc/__init__.py", line 21, in <module>
from ffc.jitcompiler import jit
File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 63, in <module>
instant.set_log_level("warning")
AttributeError: 'module' object has no attribute 'set_log_level'