[MacPorts] #46631: Dolfin installation error
MacPorts
noreply at macports.org
Tue Jan 20 14:23:58 PST 2015
#46631: Dolfin installation error
------------------------+--------------------
Reporter: mwathen@… | Owner: sean@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: fixed | Keywords:
Port: dolfin |
------------------------+--------------------
Comment (by mwathen@…):
Also, when I try to import ffc in python I get the following error.
{{{
>>> import ffc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/michaelwathen/InstalledPackages/lib/python2.7/site-
packages/ffc/__init__.py", line 18, in <module>
from ffc.compiler import compile_form, compile_element
File "/Users/michaelwathen/InstalledPackages/lib/python2.7/site-
packages/ffc/compiler.py", line 127, in <module>
from ffc.analysis import analyze_forms, analyze_elements
File "/Users/michaelwathen/InstalledPackages/lib/python2.7/site-
packages/ffc/analysis.py", line 43, in <module>
from ffc.quadratureelement import default_quadrature_degree
File "/Users/michaelwathen/InstalledPackages/lib/python2.7/site-
packages/ffc/quadratureelement.py", line 136, in <module>
from ffc.fiatinterface import reference_cell
File "/Users/michaelwathen/InstalledPackages/lib/python2.7/site-
packages/ffc/fiatinterface.py", line 43, in <module>
from ufl.geometry import cellname2dim
ImportError: cannot import name cellname2dim
}}}
Replying to [comment:4 mwathen@…]:
> I have have now updated my dolfin and it works. However, when I go to
"import dolfin" in python I get the error
>
>
> {{{
> ---------------------------------------------------
> DOLFIN runtime dependency is not met.
> Install the following python module: 'ffc'
> and make sure its location is listed in PYTHONPATH.
> ---------------------------------------------------
> }}}
>
> I have set python to be the one that macport installs
--
Ticket URL: <https://trac.macports.org/ticket/46631#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list