Hello,
I tried the macport version of Fenics.
I updated macport just after a first installation of dolfin. The error was
about conflict between 2.0.9 and 2.010 version of swig for the module ufl.
Consequently I uninstalled and reinstalled dolfin and had the following
error :
In [1]: from dolfin import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-f9fe29351801> in <module>()
----> 1 from dolfin import *
/opt/local/lib/python2.7/site-packages/dolfin/__init__.py in <module>()
14
15 # Import names from the compiled cpp modules
---> 16 import cpp
17 from dolfin.cpp import *
18 from dolfin.cpp import __version__, __swigversion__
/opt/local/lib/python2.7/site-packages/dolfin/cpp/__init__.py in <module>()
38
39 # Import the module
---> 40 exec("import %s" % module_name)
41 module = globals()[module_name]
42
<string> in <module>()
ImportError: No module named common
Two version of swig are installed ( the 2.0.9 and 2.0.10). The active
version is the 2.0.10.
Regards,
--
Erwan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics