[ https://issues.apache.org/jira/browse/ARROW-17265 ]


    chendan deleted comment on ARROW-17265:
    ---------------------------------

was (Author: JIRAUSER283005):
[~rokm] 

Thanks! I create the conda virtual environment, then I did the cmake. But the 
python version does not match, please find the log below. I want to use 
python3.6 version as my environment on ARM platform is python3.6. It's suitable 
for other open source software I have built. So could I just change change 
arrow cmake files to pass the version checking or must I use some older version 
of arrow source code to build? If I must use older arrow, which version is 
suitable?

 

CMake Error at 
/home/anaconda3/envs/pyarrow-dev/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230
 (message):
  Could NOT find Python3: Found unsuitable version "3.6.13", but required is
  at least "3.7" (found /root/anaconda3/envs/py36test/bin/python3.6, found
  components: Interpreter Development NumPy Development.Module
  Development.Embed)
Call Stack (most recent call first):
  
/home/anaconda3/envs/pyarrow-dev/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:592
 (_FPHSA_FAILURE_MESSAGE)
  
/home/anaconda3/envs/pyarrow-dev/share/cmake-3.23/Modules/FindPython/Support.cmake:3192
 (find_package_handle_standard_args)
  
/home/anaconda3/envs/pyarrow-dev/share/cmake-3.23/Modules/FindPython3.cmake:490 
(include)
  cmake_modules/FindPython3Alt.cmake:53 (find_package)
  src/arrow/python/CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
See also "/root/build/arrow/cpp/build/CMakeFiles/CMakeOutput.log".
See also "/root/build/arrow/cpp/build/CMakeFiles/CMakeError.log".

> build python lib failed on both X86 and ARMv8
> ---------------------------------------------
>
>                 Key: ARROW-17265
>                 URL: https://issues.apache.org/jira/browse/ARROW-17265
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 2.0.0, 8.0.0
>         Environment: os: centos 7.9
> CPU: X86_64
>            Reporter: chendan
>            Priority: Critical
>              Labels: RedHat
>         Attachments: CMakeError.log, CMakeOutput-1.log, CMakeOutput.log
>
>
> I want to build pyarrow lib in ARM platform. I download pyarrow source code 
> version 8.0.0 and run "python setup.py install". An error occur:
> Using ld linker
> Configured for RELEASE build (set with cmake 
> -DCMAKE_BUILD_TYPE=\{release,debug,...})
> -- Build Type: RELEASE
> -- Generator: Unix Makefiles
> -- Build output directory: 
> /root/build/pyarrow-8.0.0/build/temp.linux-x86_64-3.6/release
> -- Found Python3: /root/anaconda3/envs/py36test/bin/python (found version 
> "3.6.13") found components: Interpreter Development.Module NumPy 
> -- Found Python3Alt: /root/anaconda3/envs/py36test/bin/python  
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
> -- Could NOT find Arrow (missing: Arrow_DIR)
> -- Checking for module 'arrow'
> --   No package 'arrow' found
> CMake Error at 
> /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 
> (message):
>   Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
>   ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
> Call Stack (most recent call first):
>   /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 
> (_FPHSA_FAILURE_MESSAGE)
>   cmake_modules/FindArrow.cmake:450 (find_package_handle_standard_args)
>   cmake_modules/FindArrowPython.cmake:46 (find_package)
>   CMakeLists.txt:231 (find_package)
> -- Configuring incomplete, errors occurred!
>  
> This error always occur no matter what version I choose(pyarrow 8.0.0 or 
> 2.0.0) and no matter what platform (X86 or ARM c complier) I choose. When I 
> downloaded arrow source code and enter python folder and run "python setup.py 
> install" the same error occur.
> It seems that it's an bug on cmake files. I could not build python lib for my 
> ARM plarform.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to