Joshua-Ren opened a new issue, #40193:
URL: https://github.com/apache/arrow/issues/40193

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   Hey, I'm trying to install pyarrow on my server, here is the error 
information. Thanks very much!
   I tried re-installing rust or cmake, but it still not working.
   
   
   ```
   -- Running cmake for PyArrow
         cmake 
-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-zfxtwtzl/pyarrow_d914e6e298274b2f8b166ed49b8d3cb8/build/lib.linux-x86_64-cpython-311/pyarrow
 
-DPYTHON_EXECUTABLE=/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/bin/python
 
-DPython3_EXECUTABLE=/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/bin/python
 -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/tmp/pip-install-zfxtwtzl/pyarrow_d914e6e298274b2f8b166ed49b8d3cb8
         -- The C compiler identification is GNU 9.3.0
         -- The CXX compiler identification is GNU 9.3.0
         -- Detecting C compiler ABI info
         -- Detecting C compiler ABI info - done
         -- Check for working C compiler: 
/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/cc 
- skipped
         -- Detecting C compile features
         -- Detecting C compile features - done
         -- Detecting CXX compiler ABI info
         -- Detecting CXX compiler ABI info - done
         -- Check for working CXX compiler: 
/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/c++ 
- skipped
         -- Detecting CXX compile features
         -- Detecting CXX compile features - done
         -- Using ccache: 
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/ccache
         -- System processor: x86_64
         -- Performing Test CXX_SUPPORTS_SSE4_2
         -- Performing Test CXX_SUPPORTS_SSE4_2 - Success
         -- Performing Test CXX_SUPPORTS_AVX2
         -- Performing Test CXX_SUPPORTS_AVX2 - Success
         -- Performing Test CXX_SUPPORTS_AVX512
         -- Performing Test CXX_SUPPORTS_AVX512 - Success
         -- Arrow build warning level: PRODUCTION
         -- Using hard-wired gold linker (version 1.16)
         -- Build Type: RELEASE
         -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  
-fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable 
-Wno-maybe-uninitialized
         -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall 
-fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  
-fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
         -- Generator: Unix Makefiles
         -- Build output directory: 
/tmp/pip-install-zfxtwtzl/pyarrow_d914e6e298274b2f8b166ed49b8d3cb8/build/temp.linux-x86_64-cpython-311/release
         -- Found Python3: 
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/bin/python
 (found version "3.11.5") found components: Interpreter Development.Module NumPy
         -- Found Python3Alt: 
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/bin/python
         CMake Error at CMakeLists.txt:268 (find_package):
           By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project 
has
           asked CMake to find a package configuration file provided by 
"Arrow", but
           CMake did not find one.
         
           Could not find a package configuration file provided by "Arrow" with 
any of
           the following names:
         
             ArrowConfig.cmake
             arrow-config.cmake
         
           Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
           "Arrow_DIR" to a directory containing one of the above files.  If 
"Arrow"
           provides a separate development package or SDK, be sure it has been
           installed.
         
         
         -- Configuring incomplete, errors occurred!
         error: command '/cvmfs/soft.computecanada.ca/custom/bin/cmake' failed 
with exit code 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow, which is required to install 
pyproject.toml-based projects
   ```
   
   
   ### Component(s)
   
   Other


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to