diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2023-06-09 11:58:26 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2023-06-09 12:02:11 +0100 |
commit | 36b5b13797bb2c87aa92bd3cfe255cb462fbdf5f (patch) | |
tree | 4c05261dead74dcd8a5a0b2bf2a5d0cc5fea429a /docs/sections/building.md | |
parent | 4c431d77902dc3c47e92a4ad3a3a58ac3e4cc806 (diff) | |
download | ml-embedded-evaluation-kit-36b5b13797bb2c87aa92bd3cfe255cb462fbdf5f.tar.gz |
MLECO-4065: Revising scripts to use Python3.923.05
Revising documentation and scripts to use Python3.9 explicitly
to remove the need for installing it system-wide that might
break a distro's desktop and pacakge manager utilities.
Change-Id: I683b55dd0243d0a726dc94eba2431005d4897c8c
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'docs/sections/building.md')
-rw-r--r-- | docs/sections/building.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/sections/building.md b/docs/sections/building.md index c7d69c8..7af3fdb 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -103,7 +103,9 @@ Before proceeding, it is *essential* to ensure that the following prerequisites > **Note:** If you have an older version of Python installed (< 3.9) see the > [Troubleshooting](./troubleshooting.md#how-to-update-python3-package-to-newer-version) - > for instruction on how to update it. + > for instruction on how to install and use it. + > **Note:** This scenario might be true if you are using an Arm Virtual Hardware instance. + > See the troubleshooting link above on how to set up the environment in this case. - The build system creates a Python virtual environment during the build process. Please make sure that Python virtual environment module is installed by running: @@ -112,12 +114,6 @@ Before proceeding, it is *essential* to ensure that the following prerequisites python3 -m venv ``` - > **Note:** If you are using an Arm Virtual Hardware instance then Python virtual environment is not installed by default. - > You will need to install it yourself by running the following command: - > ```commandline - > sudo apt install python3.8-venv - > ``` - - The build system uses external Python libraries during the building process. Please make sure that the latest pip and libsndfile versions are installed. @@ -362,7 +358,11 @@ for the default 128 MACs configuration of the Arm® *Ethos™-U55* NPU and for t Arm® *Ethos™-U65* NPU. > **Note:** This script requires Python version 3.9 or higher. Please make sure all [build prerequisites](./building.md#build-prerequisites) -> are satisfied. +> are satisfied. If your environment points to system installed Python3 that is an older version than 3.9, choose the +> required version explicitly after installing it: +> ```sh +> python3.9 ./set_up_default_resources.py +> ``` > > **Note:** This script also installs required version of CMake into the virtual environment, which can be used by activating it. |