dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04401
Re: Error message on FFC
Try again and see if it works now. I forgot to add a file (__init__.py
in the codegeneration.tensor module) but it should be there now.
/Anders
On Tue, Mar 06, 2007 at 05:55:15PM +0100, Minh Do Quang wrote:
> Hi,
>
> I am trying to install the snapshot dolfin and ffc and found an error
> message when I start ffc:
>
> =========================================
> Traceback (most recent call last):
> File "/scratch/minh/prog/bin/ffc", line 21, in ?
> from ffc.common.debug import *
> File "/scratch/minh/prog/lib/python2.3/site-packages/ffc/__init__.py",
> line 8, in ?
> from ffc.compiler.compiler import *
> File
> "/scratch/minh/prog/lib/python2.3/site-packages/ffc/compiler/compiler.py", line 37, in ?
> from codegeneration.tensor import *
> ImportError: No module named tensor
> ==========================================
>
> Then if I comments two lines in compiler.py is working!!!
>
> # FFC code generation modules
> #from codegeneration.tensor import *
> #from codegeneration.quadrature import *
>
>
> Is this OK to do so ?
>
> / Minh
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References