Hi,
I've been wanting to run one of the demo files found in the FFC package (i.e. the one found at https://bitbucket.org/fenics-project/ffc ). Namely I've been trying the following in the command line:
ffc Poisson.ufl
The error I've been getting is the following
Traceback (most recent call last):
File "/usr/local/bin/ffc", line 46, in <module>
from ffc.log import info
File "/usr/local/lib/python2.7/dist-packages/ffc/__init__.py", line 18, in <module>
from ffc.compiler import compile_form, compile_element
File "/usr/local/lib/python2.7/dist-packages/ffc/compiler.py", line 125, in <module>
from ffc.analysis import analyze_forms, analyze_elements
File "/usr/local/lib/python2.7/dist-packages/ffc/analysis.py", line 45, in <module>
from ffc.tensor import estimate_cost
File "/usr/local/lib/python2.7/dist-packages/ffc/tensor/__init__.py", line 1, in <module>
from .tensorrepresentation import compute_integral_ir
File "/usr/local/lib/python2.7/dist-packages/ffc/tensor/tensorrepresentation.py", line 32, in <module>
from ffc.representationutils import initialize_integral_ir
File "/usr/local/lib/python2.7/dist-packages/ffc/representationutils.py", line 27, in <module>
from ufl.cell import cellname2facetname
ImportError: cannot import name cellname2facetname
If it helps, I have fenics installed on Kubuntu 14.04. Originally I was using the standard version, and I've since started using the fenics PPA, but neither version has worked for me. Any advice would be appreciated.
EDIT: As an update, I managed to get it working on Ubuntu instead. Might be that the OS was the problem.
EDIT 2: Someone else I asked was able to get it running on Kubuntu, so I'm back to not knowing what the problem was.