You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/05/04 22:49:00 UTC

[jira] [Closed] (ARROW-8685) [Python] ImportError with NumPy<1.16.

     [ https://issues.apache.org/jira/browse/ARROW-8685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney closed ARROW-8685.
-------------------------------

> [Python] ImportError with NumPy<1.16.
> -------------------------------------
>
>                 Key: ARROW-8685
>                 URL: https://issues.apache.org/jira/browse/ARROW-8685
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging, Python
>    Affects Versions: 0.17.0
>            Reporter: A. Coady
>            Priority: Major
>
> {noformat}
> # pip install 'numpy<1.16' pyarrow...
> Successfully built numpy
> Installing collected packages: numpy, pyarrow
> Successfully installed numpy-1.15.4 pyarrow-0.17.0
> # python -c 'import pyarrow'ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/local/lib/python3.8/site-packages/pyarrow/__init__.py", line 59, in <module>
>     from pyarrow.lib import cpu_count, set_cpu_count
>   File "pyarrow/lib.pyx", line 37, in init pyarrow.lib
> ImportError: numpy.core.multiarray failed to import
> {noformat}
> Arrow's setup.py requires numpy>=1.14, but the actual requirement appears to be >=1.16.  
> This is related to ARROW-7852; users will still see an ImportError if an older NumPy was already installed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)