我正在尝试在AmazonLinux2M6G实例中安装pyarrow,该实例具有ARM架构。我已经安装了几个依赖项,现在运行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版本,但我得到了相同的错误
我怎样才能解决这个问题
我无法通过conda安装。或者当我尝试
import pyarrow
时conda one出现导入错误。但它成功了。安装conda后,通过:pip install pyarrow=2
相关问题 更多 >
编程相关推荐