Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
brew install apache-arrow --HEAD fails when there is no existing installation of NumPy.
CMake Error at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
version "3.9.1")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPython/Support.cmake:3148 (find_package_handle_standard_args)
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPython3.cmake:398 (include)
cmake_modules/FindPython3Alt.cmake:55 (find_package)
src/arrow/python/CMakeLists.txt:22 (find_package)
Workaround is to first install NumPy with pip3 install numpy.
Tested in macOS Big Sur 11.1 on an Intel Mac with
python --> Python 2.7.16
python3 --> Python 3.9.1