[MacPorts] #47300: dolfin: ImportError: cannot import name common

MacPorts noreply at macports.org
Mon May 18 15:24:38 PDT 2015


#47300: dolfin: ImportError: cannot import name common
---------------------------+--------------------
  Reporter:  ljofre2146@…  |      Owner:  sean@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:
      Port:  dolfin        |
---------------------------+--------------------

Comment (by gideon.simpson@…):

 The original poster was doing something with mpi4py; I am not.  When I do
 the suggested command, I get:
 {{{
 :~$ python -c 'import dolfin'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47300#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list