gpt4 book ai didi

python - linux64 和 glibc 的 Conda UnsatisfiableError

转载 作者:行者123 更新时间:2023-12-05 03:26:43 35 4
gpt4 key购买 nike

我的所有 miniconda 环境都出现错误。刚才重新做了一个环境,还是报同样的错误:


conda create --name py36 python=3.6 spyder jupyter

^ 工作正常。然后:


conda install -c conda-forge/label/rc_iris iris

出现以下错误:

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: -

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:/linux-64::__glibc==2.17=0

  - feature:|@/linux-64::__glibc==2.17=0


Your installed version is: 2.17

但出于某种原因,如果您创建一个全新的环境,这会起作用:

conda create --name py36 -c conda-forge iris python=3.6 spyder jupyter

有人知道这是怎么回事吗?当我尝试安装其他东西时,如何确保不会出现此 glibc 错误?

最佳答案

这与 GLIBC 无关,而 Conda 只是不擅长报告冲突。查看感兴趣的包清楚地表明它有 python>=3.8 要求。由于您将 Conda 锁定到 python=3.6,它无法解决,并尝试解释原因。

如果您真的有兴趣安装该候选版本,则需要在至少具有 Python v3.8 的环境中进行安装。

关于python - linux64 和 glibc 的 Conda UnsatisfiableError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71678461/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com