install kconfiglib using apt repo

This commit is contained in:
trns1997 2024-12-01 11:28:53 +01:00 committed by Xiang Xiao
parent f446fd5451
commit 7d2d38f899
3 changed files with 3 additions and 3 deletions

View file

@ -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 <board-name>[/:]<config-name>

View file

@ -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:

View file

@ -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]