You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/02/05 18:31:00 UTC

[jira] [Commented] (ARROW-11506) [Python] Pyarrow fail on install and eventual run/compilation

    [ https://issues.apache.org/jira/browse/ARROW-11506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279889#comment-17279889 ] 

Weston Pace commented on ARROW-11506:
-------------------------------------

I suspect your version of `pip` is too old.

 

First, did you mistype these commands in the Jira issue?

 
{code:java}
python3 -m install Cython
python3 -m install pyarrow
{code}
I want to make sure I understand your issue.  I think the commands are...
{code:java}
python3 -mpip install Cython
python3 -mpip install pyarrow
{code}
If that is the case you should not see...
{code:java}
Failed building wheel for pyarrow
{code}
Pip should be downloading a prebuilt binary.  However, if your pip version is too old, it will not see the prebuilt binaries on Arrow 3.0.0.  Please see ARROW-5756 for the reasoning.

 

> [Python] Pyarrow fail on install and eventual run/compilation
> -------------------------------------------------------------
>
>                 Key: ARROW-11506
>                 URL: https://issues.apache.org/jira/browse/ARROW-11506
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 3.0.0
>            Reporter: Travis Smith
>            Priority: Major
>
> pyarrow 3.0.0 fails on install in a clean environment created using virtualenv on ubuntu 18.04
> I ran the following code inside of a brand new environment:
> {code:java}
> python3 -m install pyarrow{code}
> This gives the following error:
> {code:java}
> ModuleNotFoundError: No module named 'Cython'{code}
> So I run
> {code:java}
> python3 -m install Cython
> python3 -m install pyarrow{code}
> which then throws another error during the pyarrow install with the following message a the end
> {code:java}
> Failed building wheel for pyarrow ... CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
>  Could NOT find ArrowPython (missing: ARROW_PYTHON_INCLUDE_DIR
>  ARROW_PYTHON_LIB_DIR) (found version "3.0.0"){code}
>  
> Once I've worked my way through this and any subsequent errors, I am able to succesfully compile my pyarrow/c++ code, but get the following Python runtime error:
> {code:java}
> ImportError: <redacted>: undefined symbol: _ZN5arrow2py14import_pyarrowEv{code}
>  
> Any thoughts?



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