[MacPorts] #53211: ImportError for "import astropy.io.ascii"
MacPorts
noreply at macports.org
Wed Jan 4 23:30:41 UTC 2017
#53211: ImportError for "import astropy.io.ascii"
---------------------+---------------------
Reporter: smithsp | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: astropy
---------------------+---------------------
When I try the following in python
{{{
import astropy.io.ascii
}}}
I get the following exception:
{{{
>>> import astropy.io.ascii
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/io/ascii/__init__.py", line 8, in <module>
from .core import (InconsistentTableError,
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/io/ascii/core.py", line 31, in <module>
from ...table import Table
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/table/__init__.py", line 43, in <module>
from .column import Column, MaskedColumn
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/table/column.py", line 20, in <module>
from . import groups
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/table/groups.py", line 11, in <module>
from .index import get_index
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/table/index.py", line 42, in <module>
from ..time import Time
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/time/__init__.py", line 2, in <module>
from .formats import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/time/formats.py", line 15, in <module>
from .. import _erfa as erfa
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/_erfa/__init__.py", line 4, in <module>
from .core import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/_erfa/core.py", line 43, in <module>
from . import _core
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/_erfa/_core.so, 2): Symbol not found: _eraEceq06
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/_erfa/_core.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/astropy/_erfa/_core.so
}}}
Here is what I have installed:
{{{
~ 3 : port installed erfa
The following ports are currently installed:
erfa @1.1.1_0
erfa @1.2.0_0 (active)
~ 4 : port installed py27-astropy
The following ports are currently installed:
py27-astropy @1.1.1_2
py27-astropy @1.2_4
py27-astropy @1.3_0 (active)
}}}
I searched around and didn't see anything obvious. A few hours ago, I did
a `port upgrade outdated`, as it was working before that.
--
Ticket URL: <https://trac.macports.org/ticket/53211>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list