Have a different python version per ray job?

I understand that it’s not possible to have a different python version per job to the same cluster? I just wanted to confirm if that’s true or certain python versions are compatible.
Also, I see this


- Example: {"packages":["tensorflow", "requests"], "pip_check": False, "pip_version": "==22.0.2;python_version=='3.8.11'"}

Here a python version is specified for a pip version? I’m not sure if this means, that we can choose a different python version?

Correct, that is not possible. The Ray cluster itself and the application shares the same Python version. It is possible to specify additional dependencies using runtime environments, which is applied at the job or task / actor level : Environment Dependencies — Ray 2.1.0

1 Like