Repository navigation
Closed
Description
Failed to build pyarrow on python3.8. Here is the installation error:
running build_ext
creating build/temp.linux-x86_64-3.8
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/home/blcksrx/Projects/incubator-superset/venv/bin/python3 -DPYARROW_BOOST_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /tmp/pip-install-qfyq6u3d/pyarrow
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler command: env LANG=C /usr/bin/c++ -v
-- Compiler version: Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.2.0 (GCC)
-- Compiler id: GNU
Selected compiler gcc 9.2.0
-- Performing Test CXX_SUPPORTS_SSE4_2
-- Performing Test CXX_SUPPORTS_SSE4_2 - Success
-- Performing Test CXX_SUPPORTS_ALTIVEC
-- Performing Test CXX_SUPPORTS_ALTIVEC - Failed
-- Performing Test CXX_SUPPORTS_ARMCRC
-- Performing Test CXX_SUPPORTS_ARMCRC - Failed
-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO
-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO - Failed
-- Arrow build warning level: PRODUCTION
Using ld linker
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Build output directory: /tmp/pip-install-qfyq6u3d/pyarrow/build/temp.linux-x86_64-3.8/release
-- Found PythonInterp: /home/blcksrx/Projects/incubator-superset/venv/bin/python3 (found version "3.8")
-- Searching for Python libs in /home/blcksrx/Projects/incubator-superset/venv/lib64;/home/blcksrx/Projects/incubator-superset/venv/lib;/usr/lib/python3.8/config-3.8-x86_64-linux-gnu
-- Looking for python3.8
-- Found Python lib /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a
-- Found PythonLibs: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a
CMake Error at cmake_modules/FindNumPy.cmake:62 (message):
NumPy import failure:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
Call Stack (most recent call first):
CMakeLists.txt:189 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-qfyq6u3d/pyarrow/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-qfyq6u3d/pyarrow/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeError.log".
error: command 'cmake' failed with exit status 1
This error happens while I have been installed numpy
Metadata
Metadata
Assignees
Labels
No labels
Activity
kou commentedon Dec 7, 2019
Could you show the output of the following command line?
/home/blcksrx/Projects/incubator-superset/venv/bin/python3 -c 'import numpy as n; print(n.__version__); print(n.get_include());'blcksrx commentedon Dec 9, 2019
kou commentedon Dec 9, 2019
You have the NumPy for Python 3.7 not 3.8:
.../lib/python3.7/....If you have further problem, please open a new issue on JIRA: https://issues.apache.org/jira/browse/ARROW
enkelli commentedon Dec 16, 2019
Hi, I get same error, but I've got
numpyfor 3.8$ virtualenv/bin/python3 -c 'import numpy as n; print(n.__version__); print(n.get_include());' 1.17.4 /home/enkeilli/py/virtualenv/lib/python3.8/site-packages/numpy/core/includekou commentedon Dec 16, 2019
Could you open an issue on JIRA with full log?
hugomailhot commentedon Jan 11, 2020
The JIRA issue and related GitHub PR I found on this problem are closed. Is there an open issue somewhere I can monitor to know when this will be resolved?
kou commentedon Jan 11, 2020
0.16.0 includes fixes for this.
See also for this case: https://issues.apache.org/jira/browse/ARROW-7407
wesm commentedon Jan 13, 2020
Timeline for the next release (0.16.0) is most likely within the next 3 weeks
xbe commentedon Jan 15, 2020
Would it be possible to push the 3.8 version to pypi?
wesm commentedon Jan 16, 2020
You're going to have to hold on until 0.16.0 is released, sorry