Installing root with Conda

Hi! I just installed https://repo.continuum.io/archive/Anaconda3-2020.02-Linux-x86_64.sh. I need to install root as well.

I used conda install -c conda-forge root
But it is not installing it. It keeps again isntead. Here:
`` Collecting package metadata (current_repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: ``


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi,

And after that, ROOT is not usable? You can’t run root neither do import ROOT from Python?

@chrisburr might know what they issue can be.

Using the Anaconda Python distribution with conda-forge can expose lots of issues as conda-forge tends to be updated more aggressively whereas the Anaconda distribution is more targetted towards their enterprise product.

The simplest solution is to either start from the Miniconda distribution or create a new environment with:

conda create -c conda-forge --name my_env_name root python=3.8

Other package names can be added to the end of that line to install them all at the same time.

2 Likes