Errors while installing ROOT

Viewed 179

I'm new to Python. I installed miniconda to get packages iminuit and minuit. To do this, I created a new environment to avoid conflicts. But when I try to install minuit with the command

conda install minuit -c conda-forge

I get the following error messages:

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:

 - minuit

Current channels:

 - https://conda.anaconda.org/conda-forge/osx-64
 - https://conda.anaconda.org/conda-forge/noarch
 - https://repo.anaconda.com/pkgs/main/osx-64
 - https://repo.anaconda.com/pkgs/main/noarch
 - https://repo.anaconda.com/pkgs/r/osx-64
 - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package     you're
looking for, navigate to

 https://anaconda.org

and use the search bar at the top of the page.

How can I solve this?

2 Answers

Exactly as the messages say, the package isn't available in the current channels. If you look on anaconda.org you will find:

https://anaconda.org/mutirri/minuit which says:

To install this package with conda run one of the following:
conda install -c mutirri minuit
conda install -c mutirri/label/all minuit

I'm not sure of the versioning of CERN's ROOT packages, but I guess that they no longer support Minuit package, instead Imminuit which is more lightweight and Jupyter friendly.

So you can install this package with this command, according to here:

conda install -c anaconda iminuit

Related