← Back to team overview

dolfin team mailing list archive

Re: Running Tutorial Script

 

What happens if you start Python and just type

import dolfin

?

DOLFIN should be installed under

/usr/lib/python2.5/site-packages/dolfin/

(or 2.4?)

/Anders


Lorenzo Isella wrote:
Dear All,
Thanks for the answers I was provided with.
After installing libdolfin-dev, I tried running the example in the tutorial (http://www.fenics.org/wiki/Tutorial) only to get the following error message:

~/temp$ python poisson.py
Traceback (most recent call last):
  File "poisson.py", line 1, in ?
    from dolfin import *
ImportError: No module named dolfin

where poisson.py is the file where I saved the python script of the tutorial.
Anybody having the same problem? Where has the dolfin module ended up?
Cheers

Lorenzo
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References