Bug#863829: python2: dolfin 'module' object has no attribute 'cpp'
Johannes Ring
johannr at simula.no
Thu Jun 1 08:07:25 UTC 2017
On Wed, May 31, 2017 at 6:37 PM, Drew Parsons <dparsons at 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
More information about the debian-science-maintainers
mailing list