# Multiple pip jobs in job submission

**URL:** <https://discuss.ray.io/t/multiple-pip-jobs-in-job-submission/5244>\
**Category:** Ray Client\
**Created:** [March 2, 2022, 12:55am UTC](https://discuss.ray.io/t/multiple-pip-jobs-in-job-submission/5244 "2022-03-02T00:55:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pamparana](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@pamparana](https://discuss.ray.io/u/pamparana)\
**Post date:** [March 2, 2022, 12:55am UTC](https://discuss.ray.io/t/multiple-pip-jobs-in-job-submission/5244/1 "2022-03-02T00:55:58Z")

</div>

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:

```auto
pip install pystan==2.19.1.1

```

and only then I can do:

```auto
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?

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [March 7, 2022, 12:41pm UTC](https://discuss.ray.io/t/multiple-pip-jobs-in-job-submission/5244/2 "2022-03-07T12:41:51Z")

</div>

I think you can use the runtime environment? [Handling Dependencies — Ray 2.0.0.dev0](https://docs.ray.io/en/master/ray-core/handling-dependencies.html#runtime-environments)

This can be used with the ray job submission  
[https://docs.ray.io/en/master/cluster/job-submission.html#ray-job-sdk](https://docs.ray.io/en/master/cluster/job-submission.html#ray-job-sdk)
