You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2020/02/14 09:59:00 UTC

[jira] [Updated] (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 ]

Joris Van den Bossche updated ARROW-7852:
-----------------------------------------
    Summary: [Python] 0.16.0 wheels not compatible with older numpy  (was: Update pyarrow numpy requirement)

> [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
>    Affects Versions: 0.16.0
>            Reporter: Stephanie Gott
>            Priority: Minor
>
> 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)