You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/04/02 16:19:00 UTC
[jira] [Resolved] (ARROW-7852) [Python] 0.16.0 wheels not
compatible with older numpy
[ https://issues.apache.org/jira/browse/ARROW-7852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-7852.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 6767
[https://github.com/apache/arrow/pull/6767]
> [Python] 0.16.0 wheels not compatible with older numpy
> ------------------------------------------------------
>
> Key: ARROW-7852
> URL: https://issues.apache.org/jira/browse/ARROW-7852
> Project: Apache Arrow
> Issue Type: Bug
> Components: Packaging, Python
> Affects Versions: 0.16.0
> Reporter: Stephanie Gott
> Assignee: Krisztian Szucs
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.17.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Using python 3.7.5 and numpy 1.14.6, I am unable to import pyarrow 0.16.0 (see below for error). Updating numpy to the most recent version fixes this, and I'm wondering if pyarrow needs update its requirements.txt.
>
> {code:java}
> ➜ ~ ipython
> Python 3.7.5 (default, Nov 7 2019, 10:50:52)
> Type 'copyright', 'credits' or 'license' for more information
> IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.
> In [1]: import numpy as npIn [2]: np.__version__
> Out[2]: '1.14.6'
> In [3]: import pyarrow
> ---------------------------------------------------------------------------
> ModuleNotFoundError Traceback (most recent call last)
> ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
> <ipython-input-3-f1048abcb32d> in <module>
> ----> 1 import pyarrow~/.local/lib/python3.7/site-packages/pyarrow/__init__.py in <module>
> 47 import pyarrow.compat as compat
> 48
> ---> 49 from pyarrow.lib import cpu_count, set_cpu_count
> 50 from pyarrow.lib import (null, bool_,
> 51 int8, int16, int32, int64,~/.local/lib/python3.7/site-packages/pyarrow/lib.pyx in init pyarrow.lib()ImportError: numpy.core.multiarray failed to import
> In [4]: import pyarrow
> ---------------------------------------------------------------------------
> AttributeError Traceback (most recent call last)
> <ipython-input-4-f1048abcb32d> in <module>
> ----> 1 import pyarrow~/.local/lib/python3.7/site-packages/pyarrow/__init__.py in <module>
> 47 import pyarrow.compat as compat
> 48
> ---> 49 from pyarrow.lib import cpu_count, set_cpu_count
> 50 from pyarrow.lib import (null, bool_,
> 51 int8, int16, int32, int64,~/.local/lib/python3.7/site-packages/pyarrow/ipc.pxi in init pyarrow.lib()AttributeError: type object 'pyarrow.lib.Message' has no attribute '__reduce_cython__'
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)