anaconda - 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.
解决方案
该软件包不适用于win-64平台。如果你必须运行这个包,你必须研究像 WSL 或 Docker 这样的选项来运行虚拟化/容器化的 Linux。作者使用该软件同时维护Singularity 映像和Docker 映像。
推荐阅读
- javascript - 访问对象内数组中的数据
- python - 改进表格中的 Pytesseract 结果(表格 OCR)
- c++ - 附加到向量时如何避免调用 memcpy()
>? - javascript - Magento 2.4 - 快速结帐 - 送货地址错误
- azure-resource-manager - 如何在 ARM 模板的参数部分引用密钥库中的机密作为默认值
- opengl - 如何使OpenGL光定向?
- php - 如何在 PHP 8.0 中使用 ssh2?
- r - 使用 R 计算字符串中的单句点和双句点
- python - 如何以排序方式分组而不是在同一行上使用不同的列?
- angular - 是否可以避免嵌套订阅?