On Wed, May 31, 2017 at 6:37 PM, Drew Parsons <dpars...@debian.org> wrote: > Weird, the new python3 module seems to have broken the python2 dolfin > module. That's not good. > > Importing dolfin gives the error: > AttributeError: 'module' object has no attribute 'cpp'
The problem is that the Python 2 modules for dolfin was generated with swig interface files for Python 3. The solution is to make sure that the swig interface is generated with the correct Python version before building dolfin. Johannes -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers