Repo - Is the location for Python configurable?

56 views
Skip to first unread message

Michael Goberling

unread,
Dec 10, 2020, 3:14:02 AM12/10/20
to Repo and Gerrit Discussion
Looked through the docs to find an answer on this, but couldn't come up with anything. 

Is there a way to configure repo to point it to the Python version you'd like to use or does it always use the `python` command? 

Mike Frysinger

unread,
Dec 19, 2020, 6:48:14 PM12/19/20
to Repo and Gerrit Discussion
update your $PATH so the version of `python` you want comes first
-mike

ravirajk...@gmail.com

unread,
Jan 12, 2021, 4:24:17 AM1/12/21
to Repo and Gerrit Discussion
I see that repo works even if the default python is 2.7 and python3 is pointing to the right version.
May be you can try setting the right version of python3 using the update-alternatives or the similar command in the OS you are using.

Reply all
Reply to author
Forward
0 new messages