Opened 10 years ago

Last modified 10 years ago

#45157 closed defect

Dolfin import error — at Initial Version

Reported by: mwathen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: dolfin

Description

Hi,

I updated my macport packages and when I now try and import dolfin i get the following error

import dolfin


Exception Traceback (most recent call last) <ipython-input-1-7d9b2153bc0b> in <module>()


/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/init.py in <module>()

2 3 # Special module to handle import issues


5 6 # Import UFL form language

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/importhandler/init.py in <module>()

37 for dep in runtime_dependencies: 38 try:

---> 39 import(dep)

40 except ImportError, e: 41 import sys

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/init.py in <module>()

16 17 # Import compiler functions

---> 18 from ffc.compiler import compile_form, compile_element

19 20 # Import JIT compiler

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/compiler.py in <module>()

125 126 # FFC modules

--> 127 from ffc.analysis import analyze_forms, analyze_elements

128 from ffc.representation import compute_ir 129 from ffc.optimization import optimize_ir

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/analysis.py in <module>()

40 from ffc.log import log, info, begin, end, warning, debug, error, ffc_assert, warning_blue 41 from ffc.utils import all_equal

---> 42 from ffc.quadratureelement import default_quadrature_degree

43 from ffc.utils import all_equal 44 from ffc.tensor import estimate_cost

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/quadratureelement.py in <module>()

25 26 # FIAT modules.

---> 27 from FIAT.functional import PointEvaluation

28 29 # FFC modules.

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/FIAT/init.py in <module>()

9

10 # Import finite element classes

---> 11 from FIAT.finite_element import FiniteElement

12 from FIAT.argyris import Argyris 13 from FIAT.argyris import QuinticArgyris

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/FIAT/finite_element.py in <module>()

17 18 import numpy

---> 19 from .polynomial_set import PolynomialSet

20 21 class FiniteElement:

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/FIAT/polynomial_set.py in <module>()

27 # an entire set of polynomials) 28

---> 29 from . import expansions

30 import numpy 31 from .functional import index_iterator

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/FIAT/expansions.py in <module>()

32 Unable to import the Python Scientific module required by FIAT. 33 Consider installing the package python-scientific.

---> 34 """)

35 36 def xi_triangle( eta ):

Exception: Unable to import the Python Scientific module required by FIAT. Consider installing the package python-scientific.

I checked that the Python Scientific module is installed

---> Computing dependencies for py-scientific ---> Fetching archive for py-scientific ---> Attempting to fetch py-scientific-2.9.3_0.darwin_13.noarch.tbz2 from http://packages.macports.org/py-scientific ---> Attempting to fetch py-scientific-2.9.3_0.darwin_13.noarch.tbz2.rmd160 from http://packages.macports.org/py-scientific ---> Installing py-scientific @2.9.3_0 ---> Activating py-scientific @2.9.3_0 ---> Cleaning py-scientific ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.

but I still get the same error....

Change History (0)

Note: See TracTickets for help on using tickets.