【发布时间】:2021-10-11 09:24:14
【问题描述】:
有没有办法将当前具有 Python 3.8.11 的当前 conda 基础(根)环境更新为 Python 3.9 或 3.10?我知道使用新的虚拟环境是推荐的方法,但我仍然想学习如何去做。
我尝试使用 conda install python=3.9 和 conda install python = 3.10,这是几年前的一些帖子推荐的,但它们不起作用,我最终出现以下错误
Collecting package metadata (current_repodata.json): done
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
另外,使用conda update python 只改变了微版本号(我认为它是从 Python 3.8.10 升级到 3.8.11)
【问题讨论】:
标签: python python-3.x anaconda conda