为什么 conda 不能升级 python 到 3.12

为什么 conda 不能升级 python 到 3.12

2023-11-05 23:33:29

ChrisZZ

1. 目的

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

bash 复制代码
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 工作进展, 可以在网页里查看:

https://conda-forge.org/status/#python312

3. 强行安装 Python 3.12

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

bash 复制代码
mamba create -n py312 -c conda-forge python=3.12

4. References

https://stackoverflow.com/questions/77277139/install-python-3-12-using-mamba-on-mac

相关推荐
骑牛小道士2 分钟前
JAVA- 锁机制介绍 进程锁
java·开发语言
郭涤生5 分钟前
Chapter 1: Historical Context_《C++20Get the details》_notes
开发语言·c++20
liuhaoran___15 分钟前
解释区块链技术的应用场景和优势
python
独好紫罗兰16 分钟前
洛谷题单2-P5712 【深基3.例4】Apples-python-流程图重构
开发语言·python·算法
东方佑31 分钟前
深度解析Python-PPTX库:逐层解析PPT内容与实战技巧
开发语言·python·powerpoint
Python大数据分析@40 分钟前
python 常用的6个爬虫第三方库
爬虫·python·php
水w42 分钟前
【Android Studio】如何卸载干净(详细步骤)
android·开发语言·android studio·activity
weixin_3077791343 分钟前
判断HiveQL语句为建表语句的识别函数
开发语言·数据仓库·hive·c#
一顿操作猛如虎,啥也不是!1 小时前
JAVA-Spring Boot多线程
开发语言·python
v维焓1 小时前
C++(思维导图更新)
开发语言·c++·算法