diff --git a/CMakeLists.txt b/CMakeLists.txt index 804093cadd..2dec901636 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,7 +87,7 @@ find_program(KCONFIGLIB olddefconfig) if(NOT KCONFIGLIB) message( FATAL_ERROR "Kconfig environment depends on kconfiglib, Please install: - $ pip install kconfiglib") + $ sudo apt install python3-kconfiglib") endif() # BOARD CONFIG can be set to directory path, or [/:] diff --git a/Documentation/quickstart/install.rst b/Documentation/quickstart/install.rst index d7cb13ae2f..091f42f8f1 100644 --- a/Documentation/quickstart/install.rst +++ b/Documentation/quickstart/install.rst @@ -124,7 +124,7 @@ some Kconfig syntax errors. Install kconfiglib via following command: .. code-block:: shell - pip install kconfiglib + sudo apt install python3-kconfiglib If you are a working on Windows, which also need the support of windows-curses: diff --git a/tools/merge_config.py b/tools/merge_config.py index 140925bdbc..e767132652 100755 --- a/tools/merge_config.py +++ b/tools/merge_config.py @@ -28,7 +28,7 @@ try: from kconfiglib import Kconfig except ModuleNotFoundError: print("Please execute the following command to install dependencies:") - print("pip install kconfiglib") + print("sudo apt install python3-kconfiglib") exit() script_path = os.path.split(os.path.realpath(__file__))[0]