我正在尝试在拥有ARM架构的Amazon Linux2 m6g实例中安装pyarrow。我已经安装了几个依赖项,现在在运行pip3.8 install pyarrow时被这个错误卡住了
-- Found the Arrow core static library: /usr/lib64/libarrow.a
-- Could NOT find ArrowPython (missing: ArrowPython_DIR)
-- Checking for module 'arrow-python'
-- No package 'arrow-python' found
CMake Error at /usr/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find ArrowPython (missing: ARROW_PYTHON_INCLUDE_DIR
ARROW_PYTHON_LIB_DIR) (found version "2.0.0")
Call Stack (most recent call first):
/usr/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindArrowPython.cmake:76 (find_package_handle_standard_args)
CMakeLists.txt:215 (find_package)它说我需要安装ArrowPython包。当我运行sudo yum install arrow-python-libs来安装这个包时,我得到了这个错误:
Error: Package: openblas-threads-0.3.3-2.el7.aarch64 (epel)
Requires: libgfortran.so.3()(64bit)
Error: Package: openblas-threads-0.3.3-2.el7.aarch64 (epel)
Requires: libgfortran.so.3(GFORTRAN_1.0)(64bit)
Error: Package: openblas-serial-0.3.3-2.el7.aarch64 (epel)
Requires: libgfortran.so.3(GFORTRAN_1.0)(64bit)
Error: Package: python36-numpy-1.12.1-1.el7.aarch64 (epel)
Requires: libpython3.6m.so.1.0()(64bit)
Error: Package: python36-numpy-1.12.1-1.el7.aarch64 (epel)
........
Error: Package: openblas-serial-0.3.3-2.el7.aarch64 (epel)
Requires: libgfortran.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest我也尝试过其他pyarrow版本,但我得到了相同的错误。
我该如何解决这个问题呢?
发布于 2021-09-23 12:42:46
我无法通过conda安装。或者当我尝试import pyarrow时,conda one出现了导入错误。但还是让它工作了。安装conda后,请通过以下方式:
pip install pyarrow=2
https://stackoverflow.com/questions/64928357
复制相似问题