> 技术文档 > 安装pyarrow包

安装pyarrow包

pip3.9 install pyarrow

报错

  -- 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-fsy_yoy8/pyarrow/build/temp.linux-x86_64-cpython-39/release
  -- Found Python3: /usr/bin/python3.9 (found version \"3.9.6\") found components: Interpreter Development.Module NumPy
  -- Found Python3Alt: /usr/bin/python3.9
  -- Found NumPy version: 2.0.2
  -- NumPy include dir: /tmp/pip-build-env-m4w5p3og/overlay/lib64/python3.9/site-packages/numpy/_core/include
  -- Found Cython version: 3.1.2
  CMake Error at CMakeLists.txt:289 (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.

参考:

https://zhuanlan.zhihu.com/p/719374666

八度云下载