为什么 conda 不能升级 python 到 3.12

编程入门 行业动态 更新时间:2024-10-18 06:04:02

为什么 <a href=https://www.elefans.com/category/jswz/34/1764671.html style=conda 不能升级 python 到 3.12"/>

为什么 conda 不能升级 python 到 3.12

为什么 conda 不能升级 python 到 3.12

2023-11-05 23:33:29
ChrisZZ

1. 目的

弄清楚为什么执行了如下升级命令后, python 版本还是 3.11?

conda update conda 
conda update python

2. 原因

因为 conda forge 没有完成 migration

Migration is the process on Conda Forge by which packages get rebuilt to support new global versions, such as Python 3.12 or R 4.3. Conda Forge provides a dashboard to track the status of migrations, such as Python 3.12.

迁移(migration) 指的是 conda 仓库中的软件包重新编译以支持新的全局版本的过程, 例如 Python 3.12 或 R 4.3。

对于 Python 3.12 的 migration 工作进展, 可以在网页里查看:

3. 强行安装 Python 3.12

创建新的 conda 环境即可。新环境不限制 Python 版本。

mamba create -n py312 -c conda-forge python=3.12

4. References

更多推荐

为什么 conda 不能升级 python 到 3.12

本文发布于:2023-11-16 10:45:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1617620.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:conda   python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!