Commit 96617ecf authored by rohmat01's avatar rohmat01 Committed by Thomas Abraham
Browse files

infra/common: add an entry to troubleshoot missing `python` error



Add a new entry within troubleshoot page to help work around missing
`python` error that might fail the repo init.

Change-Id: I57257a4b74837316e414f320d6ee7ee4c1392200
Signed-off-by: default avatarRohit Mathew <rohit.mathew@arm.com>
parent 769c136c
......@@ -90,8 +90,25 @@ the commit history that is downloaded and can reduce the failures in
downloading linux repo.
Error : "/usr/bin/env: ‘python’: No such file or directory"
-----------------------------------------------------------
repo init could fail if it can't find a compatible reference to python. Please
make sure you have the required version of python as mentioned in `repo setup`_
page.
If the error still persists, check if `/usr/bin` has a binary named python. If
you find the binary name to be `python3` (or any `python3.x` for that matter)
and /usr/bin/python is not found, then create a softlink to work around this
issue as shown below -
::
sudo ln -s /usr/bin/python3 /usr/bin/python
--------------
*Copyright (c) 2021, Arm Limited. All rights reserved.*
.. _recommended configuration: docs/infra/common/download-sources.rst
.. _repo setup: docs/infra/common/download-sources.rst
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment