You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Yue Sun (Jira)" <ji...@apache.org> on 2022/02/03 05:56:00 UTC
[jira] [Created] (ARROW-15541) cannot install python wrapper after building arrow/5.0.0
Yue Sun created ARROW-15541:
-------------------------------
Summary: cannot install python wrapper after building arrow/5.0.0
Key: ARROW-15541
URL: https://issues.apache.org/jira/browse/ARROW-15541
Project: Apache Arrow
Issue Type: Bug
Reporter: Yue Sun
Hi There,
I installed arrow/5.0.0 as the following.
"""
git clone https://github.com/apache/arrow.git
cd arrow
git checkout apache-arrow-5.0.0
export ARROW_HOME=/g/data/z00/yxs900/.local/environments/arrow
mkdir cpp/build
cd cpp/build
cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DCMAKE_INSTALL_LIBDIR=lib64 \
-DCMAKE_BUILD_TYPE=release \
-DPython3_EXECUTABLE=/apps/python3/3.7.4/bin/python3 \
-DARROW_PARQUET=ON \
-DARROW_PYTHON=ON \
-DARROW_CUDA=ON \
-DARROW_DATASET=ON \
-DARROW_BUILD_TESTS=OFF \
..
make -j1 VERBOSE=1
make install
"""
The build is successful and installed properly. But when I try to install the python wrapper as the following
"""
cd ../../python
export PYARROW_WITH_CUDA=1
export PYARROW_WITH_DATASET=1
export PYARROW_WITH_PARQUET=1
export LD_LIBRARY_PATH=${ARROW_HOME}/lib64:${LD_LIBRARY_PATH}
python3 setup.py build_ext --inplace
"""
It stopped at the error message
"""
Error compiling Cython file:
------------------------------------------------------------
...
Writable):
pass
cdef cppclass CInputStream" arrow::io::InputStream"(FileInterface,
Readable):
CResult[shared_ptr[const CKeyValueMetadata]] ReadMetadata()
^
------------------------------------------------------------
pyarrow/includes/libarrow.pxd:1199:33: Expected ']', found 'CKeyValueMetadata'
"""
Did you see this error before? I am using cmake/3.21.4, cuda/11.0.3, mccl/2.8.4, and python 3.7.4. The cython version is 0.29.14.
Let me know what else do you need for the diagnosis.
Cheers,
Yue
--
This message was sent by Atlassian Jira
(v8.20.1#820001)