dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18032
[Bug 557663] Re: Importing ffc: ’ Unable to import the Python Scientific module required by FIAT’
This is strange. All you need is
py26-scientific @2.8_2+macosx (active)
Try 'import Scientific' in a python session and see if it reports an
error.
--
Importing ffc: ’ Unable to import the Python Scientific module required by FIAT’
https://bugs.launchpad.net/bugs/557663
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: New
Bug description:
I have a freshly installed FENiCS on my mac, platform OS 10.6.3. When I try to import ffc in ipython I get some errors. Referencing to some Python Scientific package needed by FIAT. The sciPy package was successfully installed with Macport (and a reinstallation of them does not help). I have the following versions:
port installed py26-sc*
py26-scientific @2.8_2+macosx (active)
py26-scipy @0.7.1_0+gcc43 (active)
Sorry for keeping you all busy…
Any help is greatly appreciated,
Thanks
/Tor
My output when trying to import ffc
In [2]: import ffc
------------------------------------------------------------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/ffc/__init__.py", line 16, in <module>
from ffc.compiler import compile_form, compile_element
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/ffc/compiler.py", line 112, in <module>
from ffc.analysis import analyze_forms, analyze_elements
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/ffc/analysis.py", line 30, in <module>
from ffc.quadratureelement import default_quadrature_degree
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/ffc/quadratureelement.py", line 13, in <module>
from FIAT.functional import PointEvaluation
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/FIAT/__init__.py", line 9, in <module>
from FIAT.argyris import Argyris
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/FIAT/argyris.py", line 4, in <module>
import finite_element, polynomial_set, dual_set , functional, numpy
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/FIAT/finite_element.py", line 5, in <module>
from polynomial_set import PolynomialSet
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/FIAT/polynomial_set.py", line 12, in <module>
import expansions
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/FIAT/expansions.py", line 19, in <module>
"""
Exception: Unable to import the Python Scientific module required by FIAT.
Consider installing the package python-scientific.
Follow ups
References