dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19222
UFC Python wrapper location change?
I'm running into a Python error (below), which I suspect is due to the
relocation of the UFC Python module (now in its own subdirectory). Do I
need to add
from ufc import *
somewhere?
Garth
Traceback (most recent call last):
File "demo.py", line 20, in <module>
from dolfin import *
File
"/home/garth/Work/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py", line 13, in <module>
import dolfin.cpp as cpp
File
"/home/garth/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py",
line 8902, in <module>
class GenericFunction(ufc.function,Variable):
AttributeError: 'module' object has no attribute 'function'
Follow ups