On Tue, Jan 14, 2014 at 11:42 AM, flr <[email protected]> wrote:
> I've tried the ubuntu 13.10 package for fenics and it doesn't work. It seems
> python can't find dolfin package.
>
> This is the error shown:
>
> Traceback (most recent call last):
>   File "demo_navier-stokes.py", line 28, in <module>
>     from dolfin import *
>   File "/usr/lib/python2.7/dist-packages/dolfin/__init__.py", line 16, in
> <module>
>     import cpp
>   File "/usr/lib/python2.7/dist-packages/dolfin/cpp/__init__.py", line 40,
> in <module>
>     exec("import %s" % module_name)
>   File "<string>", line 1, in <module>
> ImportError: No module named common

This is a bug in the DOLFIN package in the standard Ubuntu archive in
13.10. Install the packages from the FEniCS PPA instead:

http://fenicsproject.org/download/ubuntu_details.html#ubuntu-ppa

This will also give you the latest version of FEniCS.

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to