Hi, Sorry for the late reply. Yes, the problem is that you are mixing Python 2.7 and 3.4. You must be careful to use the same Python version both when building and running FEniCS.
Johannes On Wed, Jul 22, 2015 at 9:24 PM ramki kalyanaraman <[email protected]> wrote: > > Dear users, > I have attempted to get dolfin running on arch linux. after > unsuccessfully trying to install the fenics-git and dolfin-git from > the arch user repository I resorted to the manual installation > given at > http://fenicsproject.org/download/installation_from_source.html > > > After also unsuccessfully trying to install systemwide (can send the > details if needed later) I was able to install in a local directory. > However, when I try to run any of the demo files, I get the below > messages - is this somehow related to python3.4 or is it something else. > thanks > RK > > > /usr/bin/python3.4 > ~/FENICS/share/dolfin/demo/documented/periodic/python/demo_periodic.py > Traceback (most recent call last): File > > "/home/rk/FENICS/share/dolfin/demo/documented/periodic/python/demo_periodic.py", > line 34, in <module> from dolfin import * File > "/home/rk/FENICS/lib/python2.7/site-packages/dolfin/__init__.py", > line 16, in <module> from . import cpp File > "/home/rk/FENICS/lib/python2.7/site-packages/dolfin/cpp/__init__.py", > line 42, in <module> exec("from . import %s" % module_name) File > "<string>", line 1, in <module> File > "/home/rk/FENICS/lib/python2.7/site-packages/dolfin/cpp/common.py", > line 32, in <module> _common = swig_import_helper() File > "/home/rk/FENICS/lib/python2.7/site-packages/dolfin/cpp/common.py", > line 28, in swig_import_helper _mod = imp.load_module('_common', fp, > pathname, description) File "/usr/lib/python3.4/imp.py", line 243, in > load_module return load_dynamic(name, filename, file) ImportError: > libdolfin.so.1.5: cannot open shared object file: No such file or > directory > > Process finished with exit code 1 > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
