I'm having a lot of difficulty getting dolfin to work on Mac OS X 10.9.5.
I've tried the 1.4.0 release, and I was able to get everything built and
installed, but then I get the following error when trying to run an example:
------------------------------------------------------------------------------------------------------------------------
$ python demo_poisson.py
Traceback (most recent call last):
File "demo_poisson.py", line 37, in <module>
from dolfin import *
File "/usr/local/lib/python2.7/site-packages/dolfin/__init__.py", line 4,
in <module>
import dolfin.importhandler
File
"/usr/local/lib/python2.7/site-packages/dolfin/importhandler/__init__.py",
line 39, in <module>
__import__(dep)
File "/usr/local/lib/python2.7/site-packages/ffc/__init__.py", line 18,
in <module>
from ffc.compiler import compile_form, compile_element
File "/usr/local/lib/python2.7/site-packages/ffc/compiler.py", line 127,
in <module>
from ffc.analysis import analyze_forms, analyze_elements
File "/usr/local/lib/python2.7/site-packages/ffc/analysis.py", line 42,
in <module>
from ffc.quadratureelement import default_quadrature_degree
File "/usr/local/lib/python2.7/site-packages/ffc/quadratureelement.py",
line 27, in <module>
from FIAT.functional import PointEvaluation
File "/usr/local/lib/python2.7/site-packages/FIAT/__init__.py", line 11,
in <module>
from FIAT.finite_element import FiniteElement
File "/usr/local/lib/python2.7/site-packages/FIAT/finite_element.py",
line 19, in <module>
from .polynomial_set import PolynomialSet
File "/usr/local/lib/python2.7/site-packages/FIAT/polynomial_set.py",
line 29, in <module>
from . import expansions
File "/usr/local/lib/python2.7/site-packages/FIAT/expansions.py", line
34, in <module>
""")
Exception: Unable to import the Python Scientific module required by FIAT.
Consider installing the package python-scientific.
------------------------------------------------------------------------------------------------------------------------
ScientificPython is installed, but it must be the wrong version or
something. If I look in
"/usr/local/lib/python2.7/site-packages/FIAT/expansions.py", line 34, it's
trying to import "Scientific.Functions.Derivatives", which, if run in
ipython, fails with the following error:
------------------------------------------------------------------------------------------------------------------------
In [*6*]: import Scientific.Functions.Derivatives
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-6-5c7824801f99> in <module>()
----> 1 import Scientific.Functions.Derivatives
/usr/local/lib/python2.7/site-packages/Scientific/Functions/Derivatives.py
in <module>()
/usr/local/lib/python2.7/site-packages/Scientific/N.py in <module>()
ImportError: No module named Scientific_numerics_package_id
------------------------------------------------------------------------------------------------------------------------
This is with numpy-1.8.2, which still has the oldnumeric package, so I have
no idea what the problem is.
I tried using the developer version, but there are compilation issues
(cmake puts the build files in the dolfin source directory even if you run
it from a separate build directory, and then it complains about not being
able to copy into the dolfin source directory)
I'm at a complete loss of what to try next. I've probably spent ~20 hours
trying to get this working, to no avail. Any help would be greatly
appreciated.
--
Scott J. Maddox
Ph.D. Candidate
Electrical and Computer Engineering
The University of Texas at Austin
office: (512) 471-9669
mobile: (817) 689-5263
email: [email protected]
web: http://lase.ece.utexas.edu/
Mailing address:
10100 Burnet Road
Building #160
Austin, TX 78758
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support