It doesnt recognise 'python' as a terminal command. It usually happens bc python hasn't been added to path environment.
If u wanna check if this is the problem try this in terminal (or cmd)
python --version
If u get the same error then I think this link would solve the problem.
https://www.educative.io/answers/how-to-add-python-to-path-variable-in-windows