[ https://issues.apache.org/jira/browse/ARROW-11506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279906#comment-17279906 ]
Travis Smith edited comment on ARROW-11506 at 2/5/21, 6:49 PM: --------------------------------------------------------------- Thank you. The version of pip was 9.0.1 and I upgraded it to 21.0.1. Pyarrow installed succesfully after that. Also I did have a typo in my command as you pointed out, and I will correct that momentarily. The second issue is still there though. I have a library coded in C++ which I am trying to pass a pyarrow object into using pybind11. I can compile it without error, but I get the following error in Python when I try to import the compiled code: {code:java} ImportError: <redacted>: undefined symbol: _ZN5arrow2py14import_pyarrowEv {code} was (Author: tsmith64): Thank you. The version of pip was 9.0.1 and I upgraded it to 21.0.1. Pyarrow installed succesfully after that. Also I did have a typo in my command as you pointed out, and I will correct that momentarily. The second issue is still there though. I have a library coded in C++ which I am trying to pass a pyarrow object into using pybind11. I can compile it without error, but I get the following error when I try to import the compiled code: {code:java} ImportError: <redacted>: undefined symbol: _ZN5arrow2py14import_pyarrowEv {code} > [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 pip install pyarrow{code} > This gives the following error: > {code:java} > ModuleNotFoundError: No module named 'Cython'{code} > So I run > {code:java} > python3 -m pip install Cython > python3 -m pip 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)