[英]Errors while installing ROOT
我是 Python 的新手。 我安装了 miniconda 来获取软件包 iminuit 和 minuit。 为此,我创建了一个新环境来避免冲突。 但是当我尝试使用命令安装 minuit
conda install minuit -c conda-forge
我收到以下错误消息:
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.
我该如何解决这个问题?
正如消息所说,package 在当前频道中不可用。 如果您查看 anaconda.org,您会发现:
https://anaconda.org/mutirri/minuit说:
要使用 conda 安装此 package,请运行以下操作之一:
conda install -c mutirri minuit
conda install -c mutirri/label/all minuit
我不确定 CERN 的 ROOT 包的版本控制,但我猜他们不再支持 Minuit package,而是更轻量级和 Jupyter 友好的 Imminuit 。
因此,您可以使用此命令安装此 package,根据此处:
conda install -c anaconda iminuit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.