[
https://issues.apache.org/jira/browse/ARROW-11151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Cook updated ARROW-11151:
-----------------------------
Description:
{{brew install apache-arrow --HEAD}} fails when there is no existing
installation of NumPy.
{code:java}
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)
{code}
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
was:
{{brew install apache-arrow --HEAD}} fails when there is no existing
installation of NumPy.
{code:java}
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)
{code}
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
> [C++][Packaging] Fix Homebrew Install Python 3 NumPy not found failure
> ----------------------------------------------------------------------
>
> Key: ARROW-11151
> URL: https://issues.apache.org/jira/browse/ARROW-11151
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Packaging
> Reporter: Ian Cook
> Priority: Major
>
> {{brew install apache-arrow --HEAD}} fails when there is no existing
> installation of NumPy.
> {code:java}
> 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)
> {code}
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)