#46631 closed defect (fixed)
Dolfin installation error
Reported by: | mwathen@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | dolfin |
Description
After the updates to FEniCS I tried to install dolfin but I get an error. I have attached the log file
Attachments (1)
Change History (7)
Changed 10 years ago by mwathen@…
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to sean@… |
---|---|
Port: | dolfin added |
comment:2 Changed 10 years ago by seanfarley (Sean Farley)
Seems to be a dependency I missed. Testing my rebuild now.
comment:3 Changed 10 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed in r131907.
comment:4 follow-up: 5 Changed 10 years ago by 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
comment:5 Changed 10 years ago 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 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
comment:6 Changed 10 years ago by seanfarley (Sean Farley)
/Users/michaelwathen/InstalledPackages/lib/python2.7/site-packages/ffc/fiatinterface.py
uhhhhh, why are you running ffc from here? py27-ffc
should be installed in macports automatically when installing dolfin. And, indeed, the one in macports has the corrected line:
from ufl.cell import cellname2dim
In the future, please fill in the Port field and Cc the port maintainers (
port info --maintainers dolfin
), if any.