From af943ac05c68281cebbf47b31ac7ba60b2d3acf4 Mon Sep 17 00:00:00 2001 From: Justin Williams Date: Thu, 10 Apr 2025 01:01:22 -0500 Subject: [PATCH] [SWDEV-521116] Added 'more_itertools" error workaround Signed-off-by: Justin Williams --- README.md | 6 ++++++ docs/install/install.md | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 065d1a5d5b..cf7fab7c81 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ The following are required to install and use the AMD SMI library through its la * Python 3.6.8+ (64-bit) +### Note: No module named more_itertools warning on Azure Linux 3 +During the driver installation process on Azure Linux 3, you might encounter the `ModuleNotFoundError: No module named 'more_itertools'` warning. This warning is a result of the reintroduction of `python3-wheel` and `python3-setuptools` dependencies in the CMake of AMD SMI, which requires `more_itertools` to build these Python libraries. This issue will be fixed in a future ROCm release. As a workaround, use the following command before installation: +``` +sudo python3 -m pip install more_itertools +``` + ### Go API prerequisites * Go version 1.20 or greater diff --git a/docs/install/install.md b/docs/install/install.md index f11f6a09be..67ae500280 100644 --- a/docs/install/install.md +++ b/docs/install/install.md @@ -28,10 +28,11 @@ The following are required to install and use the AMD SMI library through its la * Python version 3.6.8 or greater (64-bit) -* Modules: - * `python3-wheel` - - * `python3-setuptools` +### Note: No module named more_itertools warning on Azure Linux 3 +During the driver installation process on Azure Linux 3, you might encounter the `ModuleNotFoundError: No module named 'more_itertools'` warning. This warning is a result of the reintroduction of `python3-wheel` and `python3-setuptools` dependencies in the CMake of AMD SMI, which requires `more_itertools` to build these Python libraries. This issue will be fixed in a future ROCm release. As a workaround, use the following command before installation: +``` +sudo python3 -m pip install more_itertools +``` ### Go interface prerequisites