← Back to team overview

ffc team mailing list archive

Re: FFC + Cygwin

 



Anders Logg wrote:
On Wed, Jan 31, 2007 at 07:13:22PM +0100, Garth N. Wells wrote:
When running ffc under Cygwin, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/ffc", line 20, in ?
    from ffc.common.debug import *
  File "/usr/lib/python2.4/site-packages/ffc/__init__.py", line 2, in ?
    from ffc.compiler.compiler import *
  File "/usr/lib/python2.4/site-packages/ffc/compiler/compiler.py", line 37, in ?
    from ffc.format import ufcformat
  File "/usr/lib/python2.4/site-packages/ffc/format/ufcformat.py", line 14, in ?
    from ufc import *
ImportError: No module named ufc

I have installed ufc.

Do you get the same error if you just write a simple Python script
test.py containing only the line

from ufc import *

and then run it by python test.py?


The problem is that Cywgin does not have

  /usr/local/lib/python2.X/site-packages

in the path.

Is there a reason why ufc installs under /usr/local/lib/python2.x, while other FEniCS packages install under /usr/lib/python2.x?

Garth

Also, under Linux, src/demo/CahnHilliard2D.form returns an error (different one).

Garth

CahnHilliard2D works for me with the current FFC. Do you mean the one
in src/demo/nls/cahn-hilliard/?

What error do you get?

/Anders
_______________________________________________
FFC-dev mailing list
FFC-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/ffc-dev





Follow ups

References