Forums

"No such python interpreter" error from

I have a python file that takes about a minute to run, and runs fine when I run it from the file page.

However, when I try to schedule a task that runs it, here's the task log I get:

/usr/bin/env python3: no such Python interpreter

2021-06-13 16:02:26 -- Completed task, took 5.03 seconds, return code was 0.

So it seems it's not running at all and just hitting this error. Do I need to install a python interpreter somewhere else?

Thanks!

Just use a specific version of Python - python3.6, python3.7 or python3.8 etc

Thanks!