首页 > 解决方案 > conda install:当前渠道不提供以下软件包

问题描述

我正在尝试从 conda-forge 安装hoomd包。根据我收到的错误消息,它“当前频道不可用”,但 conda-forge 看起来像是在列表中。我一直在寻找解决方案很长一段时间。什么可能导致此问题?

(base) C:\Users\caleb>conda install -c conda-forge hoomd
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:

  - hoomd

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/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.

标签: anacondacondaconda-forge

解决方案


该软件包不适用于win-64平台。如果你必须运行这个包,你必须研究像 WSL 或 Docker 这样的选项来运行虚拟化/容器化的 Linux。作者使用该软件同时维护Singularity 映像Docker 映像


推荐阅读