Search code examples
pythonanacondacondapython-3.9

How can I install Python 3.9 from the Anaconda prompt?


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".


Solution

  • It's preferable to update Conda before installing Python 3.9:

    conda update -n base -c defaults conda
    

    Then install a Python 3.9 environment. This works now:

    conda create --name python39 python==3.9