问题描述
在 the installation documentation 之后,我尝试使用 Conda 从我的 Mac 上的 Acellera 套件安装 htmd
程序,但显示此错误:
(base) MacBook-Pro-di-Eleonora:~ eleonora$ conda install -c acellera
-c conda-forge htmd
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:
- htmd
Current channels:
- https://conda.anaconda.org/acellera/osx-64
- https://conda.anaconda.org/acellera/noarch
- 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.
该软件包似乎在 their Anaconda Cloud channel 上可用。为什么找不到,如何安装?
解决方法
Conda 软件包仅针对 linux-64 平台构建。它不能直接安装在 Mac OS X 上。
或者,您可以考虑通过 Docker 容器运行它,从 a Miniforge3 container 之类的东西开始。