arrow: [Python] Failed building wheel for pyarrow. Raspbian/debian
Describe the bug, including details regarding any error messages, version, and platform.
Hello all,
I am running into an intractable error when I try to install pyarrow on a Raspberry Pi 4 running Raspbian 10.
CMake Error at CMakeLists.txt:261 (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!
See also "/tmp/pip-install-p4u5ohc7/pyarrow_6542d2c5cfb040c6bf8cf552a7c8e0e1/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-p4u5ohc7/pyarrow_6542d2c5cfb040c6bf8cf552a7c8e0e1/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeError.log".
error: command '/usr/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
I am really not sure how to resolve this! If anyone has any advice it would be greatly appreciated. Thank you!
Component(s)
Python
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 20 (7 by maintainers)
Success!
Successfully installed pyarrow-12.0.0
Thank you so much for your persistent help @kou . Your final suggestion to look at CMAKE_PREFIX_PATH helped me finish the job because I found that $CMAKE_PREFIX_PATH wasn’t pointing anywhere even after I had run the code to define it, which helped me go back and checkdist
and realize it wasn’t in the right place. Issue closed as far as I’m concerned!The use of gcc-12 and those arguments :
seems to have solved my issue who was the same
Okay after one run hanging, I’m now even further, but hitting the following errors:
Genuinely happy this is helping others troubleshoot as well! Thank you for commenting @Trompettesib