首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装根目录时出错

安装根目录时出错
EN

Stack Overflow用户
提问于 2021-04-16 15:41:49
回答 2查看 71关注 0票数 1

我是Python的新手。我安装了miniconda来获取包iminuit和minuit。为此,我创建了一个新环境来避免冲突。但是当我尝试使用以下命令安装minuit时

代码语言:javascript
复制
conda install minuit -c conda-forge

我收到以下错误消息:

代码语言:javascript
复制
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.

我该如何解决这个问题呢?

EN

回答 2

Stack Overflow用户

发布于 2021-04-16 15:46:37

正如消息所说,该包在当前通道中不可用。如果你在anaconda.org上查找,你会发现:

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

要使用conda安装此软件包,请运行以下命令之一:

conda install -c mutirri minuit

conda install -c mutirri/label/all minuit

票数 0
EN

Stack Overflow用户

发布于 2021-04-16 16:00:59

我不确定欧洲核子研究组织的根包的版本,但我猜他们不再支持Minuit包,而是Imminuit that is more lightweight and Jupyter friendly

因此,根据here,您可以使用以下命令安装此软件包

conda install -c anaconda iminuit

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67121054

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档