安装根目录时出错

2024-06-26 07:45:14 发布

您现在位置:Python中文网/ 问答频道 /正文

我是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.

我怎样才能解决这个问题


Tags: thehttpsorgcompackagewithrepoanaconda
1条回答
网友
1楼 · 发布于 2024-06-26 07:45:14

正如消息所说,该软件包在当前频道中不可用。如果你浏览anaconda.org,你会发现:

https://anaconda.org/mutirri/minuit上面写着:

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

相关问题 更多 >