[Debian-med-packaging] pyarrow: Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS)

Scott Talbert swt at techie.net
Wed Jul 22 14:43:01 BST 2020


On Wed, 22 Jul 2020, Andreas Tille wrote:

> Hi,
>
> I intend to package pyarrow[1] as a precondition for some Debian
> Med package.  Unfortunately I get:
>
> ...
> -- Build output directory: /build/python-pyarrow-0.17.1/build/temp.linux-x86_64-3.8/release
> CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
>  Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS
>  Development NumPy) (found version "3.8.5")
> Call Stack (most recent call first):
>  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
>  /usr/share/cmake-3.16/Modules/FindPython/Support.cmake:2214 (find_package_handle_standard_args)
>  /usr/share/cmake-3.16/Modules/FindPython3.cmake:300 (include)
>  cmake_modules/FindPython3Alt.cmake:46 (find_package)
>  CMakeLists.txt:196 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/build/python-pyarrow-0.17.1/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeOutput.log".
> error: command 'cmake' failed with exit status 1
>
>
> Any idea why these variables are not sensibly set automatically and what
> I can do to provide these?

Try adding python3-all-dev to Build-Depends.

Scott



More information about the Debian-med-packaging mailing list