Multiple pip jobs in job submission

I am using the ray job submit script and I need to install the facebook prophet library. the problem is that this only works if pystan is installed before prophe i.e. I need to first do:

pip install pystan==

and only then I can do:

pip install fbprophet

i.e. pystan has to be installed before. This is giving me a lot of grief and I wonder if there is a way to get around this on the array side.

Alternatively, is there a way to install a conda package?

I think you can use the runtime environment? Handling Dependencies — Ray 2.0.0.dev0

This can be used with the ray job submission