Python 3.9.0rc1 今天已经发布,据 official website .
有没有办法在 Anaconda 环境中使用它?我试过
conda create --name python39 python==3.9
但它说:ERROR: Could not find a version that satisfies the requirement python==3.9 (from versions: none) ERROR: No matching distribution found for python==3.9
编辑:关闭重复排除没有答案的问题,并且对建议重复的自我接受的答案不回答问题。它说“改用另一个分销 channel ”。
最佳答案
Python 3.9 可通过 conda
下载在 conda-forge
截至 2020 年 10 月 9 日的 channel 。见 the Python notes和 conda-forge/python地点。
(复制我对 OP 帖子的评论)今天发布了一个 python 3.9 候选版本,3.9.0 版本是 expected to be released on October 5, 2020 .似乎 anaconda 和 conda-forge channel 都没有 Python 候选版本。编译后的 Python 包(例如 numpy)也需要使用 3.9 构建,而那些似乎也不可用。
如果你看 https://anaconda.org/conda-forge/python ,有几个标签可用,但没有一个包含 Python 3.9。命令
conda install -c conda-forge/label/dev python
conda install -c conda-forge/label/prerelease python
两者都在 amd64 Linux 上为我安装了 Python 3.8。anaconda channel也不包括 Python 3.9。您可以查看"file"选项卡中的版本下拉列表。在撰写本文时,最新版本为 3.8.5。
关于python - 如何从 Anaconda 提示符安装 Python 3.9?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63724890/