On 2015-03-31 16:52, 腾张 wrote:
I got the following error

"python -sc "from ffc import *"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/home/zhangt/envs/fenics27/lib/python2.7/site-packages/ffc/__init__.py", line 21, in <module>
    from ffc.jitcompiler import jit
File "/home/zhangt/envs/fenics27/lib/python2.7/site-packages/ffc/jitcompiler.py", line 30, in <module>
    import ufc
File "/home/zhangt/envs/fenics27/lib/python2.7/site-packages/ufc/__init__.py", line 7, in <module>
    from .ufc import (cell,
File "/home/zhangt/envs/fenics27/lib/python2.7/site-packages/ufc/ufc.py", line 32, in <module>
    _ufc = swig_import_helper()
File "/home/zhangt/envs/fenics27/lib/python2.7/site-packages/ufc/ufc.py", line 28, in swig_import_helper
    _mod = imp.load_module('_ufc', fp, pathname, description)
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/zhangt/envs/fenics27/lib/python2.7/site-packages/ufc/_ufc.so)"

Finally! We should have started here probably...

This means you are using a version which is too recent for your system, probably because you are using CentOS 6, and old RHEL or similar. Please follow the instructions available here:

http://fenicsproject.org/download/installation_using_conda.html#importerror-lib64-libc-so-6-version-glibc-2-14-not-found

You will probably have to start afresh. Sorry everybody for the noise, I didn't expect this failure to be "hidden" behind an import error.

Regards,

Juan Luis Cano
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to