From 39e9e5a5fbe9f1f32472f0b333043ba2b849cf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Thu, 14 Sep 2023 11:00:16 +0200 Subject: [PATCH] Added missing Ubuntu prerequisite to installation instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Pedersen --- docs/source/installation.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index d3427a64e..e44c84d77 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -50,7 +50,7 @@ Prerequisites -------------------------- MONAI Label supports both **Ubuntu** and **Windows** OS with GPU/CUDA enabled. -Make sure you have python 3.8/3.9 version environment with PyTorch and CUDA installed. MONAI Label features on other python version are not verified. +Make sure you have python 3.8/3.9 version environment with PyTorch and CUDA installed. MONAI Label features on other python version are not verified. - Install `Python `_ - Install the following Python libraries @@ -65,6 +65,12 @@ Make sure you have python 3.8/3.9 version environment with PyTorch and CUDA inst # Check if cuda enabled python -c "import torch; print(torch.cuda.is_available())" +On **Ubuntu** only, `python3-dev`, which contains the header files for the Python C API, is not bundled with Python and needs to be installed separately. + +.. code-block:: + + sudo apt install python3-dev + Install From PyPI ------------------------