[MacPorts] #54675: py35-pandas @0.20.3_0: Missing extensions / problem importing numpy.core.multiarray
MacPorts
noreply at macports.org
Mon Aug 28 09:39:17 UTC 2017
#54675: py35-pandas @0.20.3_0: Missing extensions / problem importing
numpy.core.multiarray
----------------------+-------------------------
Reporter: cod3monk | Owner:
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version:
Keywords: | Port: py35-pandas
----------------------+-------------------------
Panda can not be imported, due to a problem with some (missing?)
extensions or unable to import from numpy:
{{{
$ python -c 'import pandas'
RuntimeError: module compiled against API version 0xb but this version of
numpy is 0xa
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/pandas/__init__.py", line 26, in <module>
from pandas._libs import (hashtable as _hashtable,
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/pandas/_libs/__init__.py", line 3, in <module>
from .tslib import iNaT, NaT, Timestamp, Timedelta,
OutOfBoundsDatetime
ImportError: numpy.core.multiarray failed to import
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/pandas/__init__.py", line 35, in <module>
"the C extensions first.".format(module))
ImportError: C extension: umpy.core.multiarray failed to import not built.
If you want to import pandas from the source directory, you may need to
run 'python setup.py build_ext --inplace --force' to build the C
extensions first.
$
}}}
non the less, I can manually import numpy.core.multiarray
{{{
$ python -c 'import numpy.core.multiarray'
$
}}}
Current versions:
{{{
$ port installed py35-pandas py35-numpy python35
The following ports are currently installed:
py35-numpy @1.13.1_0+gfortran (active)
py35-pandas @0.20.3_0 (active)
python35 @3.5.4_0 (active)
$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54675>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list