Python starter bot broken configuration

The python starter bot has [“botLanguage”: “python3”] but it should be [“botLanguage”: “python”] to work with the language types as specified in game-runner/src/main/java/za/co/entelect/challenge/enums/

After this change the python bot gives the following error:
File “”, line 218
self.command = f’shoot {direction}’
SyntaxError: invalid syntax
Bot process failed
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal( ~[game-runner-4.0.0-jar-with-dependencies.jar:?]
at org.apache.commons.exec.DefaultExecutor.access$200( ~[game-runner-4.0.0-jar-with-dependencies.jar:?]
at org.apache.commons.exec.DefaultExecutor$ ~[game-runner-4.0.0-jar-with-dependencies.jar:?]
at ~[?:?]

seems like the bot runner is using ‘/usr/bin/python’ instead of ‘/usr/bin/python3’.

This is reminiscent of an issue experienced last year with Python on Windows vs. Python on Linux. Python bot fails on new update

Hi @Leon. The runner only uses python command for Linux and py -3 command for windows. However, this is clearly not catering for all the cases.

We have created an issue for this on our side and will try to include a step in the runner to resolve the correct python command to use.

The issue can be found here: