為什么 conda 不能升級 python 到 3.12
1. 目的
弄清楚為什么執(zhí)行了如下升級命令后, 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 工作進展, 可以在網(wǎng)頁里查看:
https://conda-forge.org/status/#python312
3. 強行安裝 Python 3.12
創(chuàng)建新的 conda 環(huán)境即可。新環(huán)境不限制 Python 版本。文章來源:http://www.zghlxwxcb.cn/news/detail-745523.html
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文章來源地址http://www.zghlxwxcb.cn/news/detail-745523.html
到了這里,關(guān)于為什么 conda 不能升級 python 到 3.12的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!