Opened 10 years ago
Last modified 9 years ago
#47300 closed defect
Problem to import dolfin intalled on macport — at Initial Version
Reported by: | ljofre2146@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | dolfin |
Description
Hello to all:
my problem is for import dolfin module in a habitual project. This package was installed from macport in osx yosemite
sudo port install dolfin
when I try use the dolfin module I got the next message
import dolfin as df
Traceback (most recent call last):
File "/Users/leonardojofre/Documents/mpi4py course/ejemplos petsc/example00001.py", line7, in <module> import dolfin as df
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/init.py", line 16, in <module> from . import cpp
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/cpp/init.py", line 42, in <module> exec("from . import %s" % module_name)
File "<string>", line 1, in <module> ImportError: cannot import name common
it is a installation problem or is a bug?
thanks to all