# Intall ROOT on Anaconda

**URL:** <https://root-forum.cern.ch/t/intall-root-on-anaconda/55412>\
**Category:** Newbie\
**Created:** [June 23, 2023, 12:32pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412 "2023-06-23T12:32:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BohrWalrus](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@BohrWalrus](https://root-forum.cern.ch/u/BohrWalrus)\
**Post date:** [June 23, 2023, 12:32pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412/1 "2023-06-23T12:32:00Z")

</div>

Hello everyone, I’m having a hard time trying to install ROOT on Anaconda. I am using the “conda install -c conda-forge root” command but I get this error:  
Collecting package metadata (current\_repodata.json): done  
Solving environment: failed with initial frozen solve. Retrying with flexible solve.  
Collecting package metadata (repodata.json): done  
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

- root

Current channels:

[List of websites that I am not allowed to post]  
To search for alternate channels that may provide the conda package you’re  
looking for, navigate to

```
[Anaconda website]

```

---

<div class="post-metadata">

**Author:** ![FoxWise](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/foxwise/32/37588_2.png) [@FoxWise](https://root-forum.cern.ch/u/FoxWise)\
**Post date:** [June 23, 2023, 12:43pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412/2 "2023-06-23T12:43:01Z")

</div>

I am also currently having trouble to install root with conda.

1. Did you set the priority first as described [here](https://root.cern/install/#conda)?  
`conda config --set channel_priority strict`

2. Try to install again, but as far as i understand right now, then it will also fail. As it is impossible(?) to install root into the conda environment with anaconda packages already, as it has its own python versions, etc. which might conflict with root dependencies versions… See another [post](https://root-forum.cern.ch/t/installing-root-with-conda/39787/2) on this.

3. So the easiest (as far as I understand again) should be to just create a new environment with root and then try to install anaconda on top if you need it:

```bash
conda create -c conda-forge --name <my-environment> root
conda activate <my-environment>
cconda install anaconda

```

which fails for me right now, but it might be my local problem so try yourself…

---

<div class="post-metadata">

**Author:** ![BohrWalrus](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@BohrWalrus](https://root-forum.cern.ch/u/BohrWalrus)\
**Post date:** [June 23, 2023, 2:26pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412/3 "2023-06-23T14:26:52Z")

</div>

From what I could understand according to the research I’ve done, It is not possible to use ROOT on Windows. Now I am trying to use it on the Windows Subsystem for Linux (WSL), but I’m still figuring out how to do that 😅

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 23, 2023, 2:30pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412/4 "2023-06-23T14:30:07Z")

</div>

> [@BohrWalrus](#):
>
> From what I could understand according to the research I’ve done, It is not possible to use ROOT on Windows.

You should make some more research. ROOT is natively available on Windows and you can download pre-built binaries from [there](https://root.cern/install/). And Anaconda is another story…

---

<div class="post-metadata">

**Author:** ![BohrWalrus](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@BohrWalrus](https://root-forum.cern.ch/u/BohrWalrus)\
**Post date:** [June 23, 2023, 3:22pm UTC](https://root-forum.cern.ch/t/intall-root-on-anaconda/55412/5 "2023-06-23T15:22:15Z")

</div>

Obviously, I meant that you cannot use root with Anaconda in a Windows environment
