在 anaconda 环境中安装 CERN ROOT- 当前渠道不提供软件包:
Installing CERN ROOT in anaconda environment- packages are not available from current channels:
我正在尝试在 anaconda 中安装 CERNS ROOT,以便使用 pyRoot。 (我使用的是 conda 4.10.3)
我已经用 python 2.7 设置了一个新环境,因为我相信我在某处读到 ROOT 不能很好地与 python 一起使用 3. 安装 python 到新环境后环境并激活它,我已将 conda-forge 添加到当前频道并尝试安装以下内容:
https://anaconda.org/conda-forge/root-dependencies
使用:
conda install -c conda-forge root-dependencies
然而,这返回了以下内容:
(pyRoot) C:\Users\George>conda install -c conda-forge root-dependencies
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:
- root-dependencies
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/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.
我不确定为什么这不起作用,因为我相当确定根据 link.
可以在 conda-forge 频道上使用根依赖项
我试过以下方法:
SET CONDA_RESTORE_FREE_CHANNEL=1
以防万一它是免费频道的一部分,可能已被删除,但我仍然遇到同样的错误。
欢迎任何想法:)
该包不是为 win-64 平台构建的,这是 OP 通道配置指示正在使用的平台。考虑 WSL2 或 Docker (ROOT Project provides pre-built images).
如果您希望 Conda Forge 构建 Windows 版本,submit an Issue on the feedstock。请注意,ROOT 项目本身仅对 Windows 提供 Beta 支持,因此这可能不是一项微不足道的任务。
我正在尝试在 anaconda 中安装 CERNS ROOT,以便使用 pyRoot。 (我使用的是 conda 4.10.3)
我已经用 python 2.7 设置了一个新环境,因为我相信我在某处读到 ROOT 不能很好地与 python 一起使用 3. 安装 python 到新环境后环境并激活它,我已将 conda-forge 添加到当前频道并尝试安装以下内容:
https://anaconda.org/conda-forge/root-dependencies
使用:
conda install -c conda-forge root-dependencies
然而,这返回了以下内容:
(pyRoot) C:\Users\George>conda install -c conda-forge root-dependencies
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:
- root-dependencies
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/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.
我不确定为什么这不起作用,因为我相当确定根据 link.
可以在 conda-forge 频道上使用根依赖项我试过以下方法:
SET CONDA_RESTORE_FREE_CHANNEL=1
以防万一它是免费频道的一部分,可能已被删除,但我仍然遇到同样的错误。
欢迎任何想法:)
该包不是为 win-64 平台构建的,这是 OP 通道配置指示正在使用的平台。考虑 WSL2 或 Docker (ROOT Project provides pre-built images).
如果您希望 Conda Forge 构建 Windows 版本,submit an Issue on the feedstock。请注意,ROOT 项目本身仅对 Windows 提供 Beta 支持,因此这可能不是一项微不足道的任务。