# Conflict with Conda and Homebrew installation of ROOT

**URL:** <https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272>\
**Category:** Newbie\
**Created:** [June 6, 2021, 2:01am UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272 "2021-06-06T02:01:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggsAndCoffee](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eggsAndCoffee](https://root-forum.cern.ch/u/eggsAndCoffee)\
**Post date:** [June 6, 2021, 2:01am UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272/1 "2021-06-06T02:01:40Z")

</div>

Hello,

I am running Mac OS 10.14.6. I recently made the mistake of installing ROOT using the Conda package manager using `conda install -c conda-forge root` while having an existing installation installed using Homebrew with `brew install root`. I have tried to remove the Conda installation by running `conda remove root`, but this took several hours to run and in the end it failed because of conflicting packages. I don’t know how to proceed, and my ROOT installation no longer works at all. Is there a way to remove the Conda installation while still preserving my homebrew installation?

Thanks

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [June 6, 2021, 9:15am UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272/2 "2021-06-06T09:15:29Z")

</div>

Hi @eggsAndCoffee ,  
the quickest solution is to remove the whole conda environment. We suggest installing ROOT via conda in dedicated environments (and not in the base env) so it’s easier to scrap and recreate envs with/without ROOT.

For much quicker dependency resolution you can try using [mamba](https://github.com/mamba-org/mamba) instead of the `conda` command.

I hope this helps!  
Enrico

---

<div class="post-metadata">

**Author:** ![eggsAndCoffee](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eggsAndCoffee](https://root-forum.cern.ch/u/eggsAndCoffee)\
**Post date:** [June 6, 2021, 11:14am UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272/3 "2021-06-06T11:14:17Z")

</div>

Thank you @eguiraud. Unfortunately I did install ROOT into the base env with Conda. Lesson learnt.

Are you able to comment at all as to whether or not it is best to install ROOT with Homebrew or with Conda? Or does it really make no difference?

Thank you.

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [June 6, 2021, 1:28pm UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272/4 "2021-06-06T13:28:07Z")

</div>

> [@eggsAndCoffee](#):
>
> Are you able to comment at all as to whether or not it is best to install ROOT with Homebrew or with Conda? Or does it really make no difference?

It should not really make a difference, both should work.

---

<div class="post-metadata">

**Author:** ![eggsAndCoffee](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eggsAndCoffee](https://root-forum.cern.ch/u/eggsAndCoffee)\
**Post date:** [June 9, 2021, 11:59am UTC](https://root-forum.cern.ch/t/conflict-with-conda-and-homebrew-installation-of-root/45272/5 "2021-06-09T11:59:55Z")

</div>

Okay, thank you!
