我正在尝试在配备 M1 处理器的 MacBook Pro 14 英寸上安装 bakta。当我运行时
conda install -c conda-forge -c bioconda bakta
我收到错误:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/osx-arm64::__osx==14.1=0
- feature:|@/osx-arm64::__osx==14.1=0
Your installed version is: 14.1
有人可以帮助我了解发生了什么事吗?我认为安装
bakta
所依赖的软件包存在问题。
Bioconda 不适用于 osx-arm64。相反,您必须从 osx-64 安装,macOS 将以模拟模式运行该软件。也就是说,使用:
## create a new environment
CONDA_SUBDIR=osx-64 conda create -n bakta_env -c conda-forge -c bioconda bakta
为了防止在此环境中安装非 osx-64 软件,我建议随后为环境配置设置
subdir
:
conda activate bakta_env
conda config --env --set subdir osx-64