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

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

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

Travis Smith updated ARROW-11506:
---------------------------------
    Description: 
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 summarized as
{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?

  was:
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}
pip3 install Cython{code}
which then throws another error summarized as
{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?


> 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 summarized as
> {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)