On 15/12/14 22:19, Johannes Ring wrote:
On Mon, Dec 15, 2014 at 4:51 AM, Bart Verleye <[email protected]> wrote:
Hi,
I have installed FFC, but when I try to import, I get following error:
import ffc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/ffc/__init__.py", line 21, in <module>
File "build/bdist.linux-x86_64/egg/ffc/jitcompiler.py", line 33, in
<module>
File "build/bdist.linux-x86_64/egg/ufc/__init__.py", line 7, in <module>
ImportError: cannot import name cell
I get this error both with the 1.4.0 version, as with the version I cloned
from git. The latter should have resolved the issue according to
http://fenicsproject.org/pipermail/fenics-support/2014-February/000372.html
Any help/hint on this?
Are you sure you are loading the correct ffc and not the old 1.4.0
version? How did you install it and did you have you set PYTHONPATH
correctly?
Johannes
>>source virtualPython/bin/activate
>>git clone https://bitbucket.org/fenics-project/ffc.git
>>cd ffc
>>python setup.py install
>>python -c"import ufl; print ufl.__version__, ufl.__file__"
1.4.0
/gpfs1m/projects/uoa00295/virtualPython/lib/python2.7/site-packages/ufl/__init__.pyc
So it's still version 1.4.0, but from the git. Should I clone a
different version?
Thanks,
Bart
--
Dr. Bart Verleye
Centre for eResearch
Level G, Room 409-G21
24 Symonds St.
Auckland 1010
New Zealand
+64 (0) 9 923 9740 ext 89740
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support