有什么办法可以将目前的conda基础(root)环境(目前有Python 3.8.11)更新为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)。