python - 安装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.
我该如何解决这个问题?
解决方案
正如消息所说,该软件包在当前频道中不可用。如果您查看 anaconda.org,您会发现:
https://anaconda.org/mutirri/minuit其中说:
要使用 conda 安装此软件包,请运行以下命令之一:
conda install -c mutirri minuit
conda install -c mutirri/label/all minuit
推荐阅读
- sql - 你如何只从字符串和浮点数混合的行中获取浮点值
- r - 在R中将坐标矩阵保存为图像矩阵的最快方法
- java - 尝试写入/读取 firebase 实时数据库但没有结果 - java 服务器桌面
- c# - Xamarin.iOS 中的“{Property} 在 iOS 中不可用”
- python - 在使用 python 的某些网页上找不到硒上的任何元素
- linux - sed 替换非正则模式
- sql - 使用静态信息更新表
- c++ - 初始化 std::unique_ptr 作为原始数组指针被初始化
- java - 如何将列表从java传递到oracle表并一次获取所有值
- google-apps-script - POST 请求通过 Google 脚本进行 Clockify