From cc3c868aea7317a58447658f1c165ad352cd4865 Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:57:57 +0200 Subject: [PATCH] MINOR: [Documentation] Add installation of ninja-build to Python Development docs (#43600) ### Rationale for this change Otherwise, you get a CMake error: ``` CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. ``` Authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Signed-off-by: Joris Van den Bossche --- docs/source/developers/python.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/developers/python.rst b/docs/source/developers/python.rst index 2f3e892ce8ede..6beea55e66b86 100644 --- a/docs/source/developers/python.rst +++ b/docs/source/developers/python.rst @@ -267,7 +267,7 @@ On Debian/Ubuntu, you need the following minimal set of dependencies: .. code-block:: - $ sudo apt-get install build-essential cmake python3-dev + $ sudo apt-get install build-essential ninja-build cmake python3-dev Now, let's create a Python virtual environment with all Python dependencies in the same folder as the repositories, and a target installation folder: