Hi everybody,

Just to clarify, I am kind of newbie.
I installed FEniCS using the  Ubuntu PPA (Stable version) and updating it.
I tried some examples and created my own cases in C++, and everything was
working file.
However, I wanted to switch to python (much easier, and I am not such a
programmer in C++) .
Unfortunately, when i tried to run a demo, I got the following error:


> /usr/share/dolfin/demo/documented/stokes-stabilized/python$ python
demo_stokes-stabilized.py
> Traceback (most recent call last):
>   File "demo_stokes-stabilized.py", line 32, in <module>
>     from dolfin import *
>   File "/usr/lib/python2.7/dist-packages/dolfin/__init__.py", line 39, in
<module>
>     from dolfin.functions import *
>   File "/usr/lib/python2.7/dist-packages/dolfin/functions/__init__.py",
line 4, in <module>
>     from dolfin.functions import function
>   File "/usr/lib/python2.7/dist-packages/dolfin/functions/function.py",
line 34, in <module>
>     from dolfin.functions.constant import Constant
>   File "/usr/lib/python2.7/dist-packages/dolfin/functions/constant.py",
line 29, in <module>
>     import ufl.domains
> ImportError: No module named domains


I also tried:

a) to uninstall and reinstall Fenics
b) to install the development version
c) to reinstall python (sudo apt-get --reinstall install python)

but I got the same error.
Any help?

Thank you in advance,
Rauno
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to