[ https://issues.apache.org/jira/browse/ARROW-11506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280642#comment-17280642 ]
Weston Pace commented on ARROW-11506: ------------------------------------- Loaded during runtime. If you are running a normal python program the library would be loaded when you run `import pyarrow`. This will cause python to load and interpret `pyarrow/__init__.py` which contains the line `from pyarrow.lib import ...` which will then lead Python to load `lib.cpython...so`. > [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)