# Issues in conda-based simultaneous installation of PyCall and RCall

**URL:** <https://discourse.julialang.org/t/issues-in-conda-based-simultaneous-installation-of-pycall-and-rcall/108183>\
**Category:** General Usage\
**Tags:** pycall, rcall\
**Created:** [December 30, 2023, 11:35am UTC](https://discourse.julialang.org/t/issues-in-conda-based-simultaneous-installation-of-pycall-and-rcall/108183 "2023-12-30T11:35:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [December 30, 2023, 11:35am UTC](https://discourse.julialang.org/t/issues-in-conda-based-simultaneous-installation-of-pycall-and-rcall/108183/1 "2023-12-30T11:35:47Z")

</div>

Hello, I have a project where I use both PyCall and RCall with both downloaded using conda (i.e. I set both `ENV["PYTHON"] = ""` and `ENV["R_HOME"] = "*"`).  
Now the issue is in github CI, where conda complains of package conflicts and fail to install them. If instead I erase the `.julia` folder on my pc and start installing them one by one instead of resolving/initialize the environment, it works fine.

Which workaround could I use to force loading the two package one after the other in github CI ?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 30, 2023, 3:04pm UTC](https://discourse.julialang.org/t/issues-in-conda-based-simultaneous-installation-of-pycall-and-rcall/108183/2 "2023-12-30T15:04:51Z")

</div>

There is a lot going on here.

Could you show us your `conda` commands or point us to your CI?

Are you using the conda-forge channel?

The output of `conda list` would also br helpful to understand your situation.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [December 30, 2023, 3:27pm UTC](https://discourse.julialang.org/t/issues-in-conda-based-simultaneous-installation-of-pycall-and-rcall/108183/3 "2023-12-30T15:27:56Z")

</div>

Thanks… this is the CI output… but I have tried on a fully new environment and got the same when using both PyCall and RCall with `ENV["PYTHON"] = ""` and `ENV["R_HOME"] = "*"`).

> <https://github.com/sylvaticus/SPMLJ/actions/runs/7363395103/job/20042816607>

[https://pastebin.com/sN8ab1TS](https://pastebin.com/sN8ab1TS)
