How to use different python version (v3.7) for actionrunner? "python_binary" no longer working


till now we used the “python_binary” config setting in the actionrunner section to use a different python binary for action packs. This works fine till Stackstorm 3.4 and is no longer working in version 3.5

If I try to execute my action in version 3.5, I get this error:

Traceback (most recent call last):
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/", line 35, in <module>
    import orjson
ModuleNotFoundError: No module named 'orjson'