The compiled extensions module is indeed where the problem comes from,

$ ~/Work/FEniCS/lib/python2.7/site-packages/dolfin/
$ python
>>> import cpp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cpp/__init__.py", line 42, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
ImportError: dynamic module does not define init function (initcommon)

The and installation build process finishes without warnings or errors though.

I'm pretty much out of guesses here. I think I'll just push for a
machine upgrade from 12.04 to 14.04 and hope that this will magically
fix things.

--Nico

On Sun, Jun 1, 2014 at 9:25 PM, Johan Hake <[email protected]> wrote:
> Were there any trouble either compiling or installing the SWIG generated
> shared libraries?
>
> Other people having the the same problem seems to have troubles with the
> compiled extension module.
>
> Johan
>
>
> On Mon, May 26, 2014 at 4:31 PM, Nico Schlömer <[email protected]>
> wrote:
>>
>> When installatin FEniCS using Dorsal on a clean Ubuntu Precise, I'm
>> getting the following error:
>>
>> ```
>> >>> import dolfin
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File
>> "/home/nschloe/Work/FEniCS/lib/python2.7/site-packages/dolfin/__init__.py",
>> line 16, in <module>
>>     import cpp
>>   File
>> "/home/nschloe/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/__init__.py",
>> line 42, in <module>
>>     exec("import %s" % module_name)
>>   File "<string>", line 1, in <module>
>> ImportError: dynamic module does not define init function (initcommon)
>> ```
>>
>> Any hints on what may be going wrong?
>>
>> Cheers,
>> Nico
>> _______________________________________________
>> 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

Reply via email to