How can I install Python 3.9 from the Anaconda prompt?

Nicolas Gervais picture Nicolas Gervais · Sep 3, 2020 · Viewed 10.8k times · Source

Python 3.9.0rc1 has been released today, according to the official website.

Is there a way I can use it in an Anaconda environment? I tried

conda create --name python39 python==3.9

But it says:

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

Edit: closing as duplicate rules out questions with no answer, and the self-accepted answer to the suggested duplicate does not answer the question. It says "use another distribution channel instead".

Answer

jakub picture jakub · Sep 3, 2020

Python 3.9 is available for download via conda on the conda-forge channel as of October 9, 2020. See the Python notes and the conda-forge/python site.


(Copying my comment on the OP's post) A python 3.9 release candidate was released today, and the 3.9.0 release is expected to be released on October 5, 2020. It seems that both the anaconda and conda-forge channels do not have python release candidates. Compiled Python packages (e.g., numpy) would also need to be built with 3.9, and those also seem to not be available.

If you look at https://anaconda.org/conda-forge/python, there are several labels available, but none of them includes Python 3.9. The commands

conda install -c conda-forge/label/dev python 
conda install -c conda-forge/label/prerelease python 

both install Python 3.8 for me on amd64 Linux.

The anaconda channel also does not include Python 3.9. You can look in the version dropdown in the "Files" tab. At the time of writing, the latest version is 3.8.5.