update to python 3.7 using anaconda

后端 未结 6 987
萌比男神i
萌比男神i 2020-12-08 03:53

Python 3.7 alpha version is out, but I haven\'t been able to find any post on how to update to python 3.7 using Anaconda - maybe they will wait for the official release? Any

相关标签:
6条回答
  • The September 4th release for 3.7 recommends the following:

    conda install python=3.7 anaconda=custom
    

    If you want to create a new environment, they recommend:

    conda create -n example_env numpy scipy pandas scikit-learn notebook
    anaconda-navigator
    conda activate example_env
    
    0 讨论(0)
  • 2020-12-08 04:03

    run conda navigator, you can upgrade your packages easily in the friendly GUI

    0 讨论(0)
  • 2020-12-08 04:15

    Python 3.7 is now available to be installed, but many packages have not been updated yet. As noted by another answer here, there is a GitHub issue tracking the progress of Anaconda building all the updated packages.


    Until someone creates a conda package for Python 3.7, you can't install it. Unfortunately, something like 3500 packages show up in a search for "python" on Anaconda.org (https://anaconda.org/search?q=%22python%22) so I couldn't see if anyone has done that yet.

    You might be able to build your own package, depending on what OS you want it for. You can start with the recipe that conda-forge uses to build Python: https://github.com/conda-forge/python-feedstock/

    In the past, I think Continuum have generally waited until a stable release to push out packages for new Pythons, but I don't work there, so I don't know what their actual policy is.

    0 讨论(0)
  • 2020-12-08 04:22
    conda create -n py37 -c anaconda anaconda=5.3
    

    seems to be working.

    0 讨论(0)
  • 2020-12-08 04:26

    To see just the Python releases, do conda search --full-name python.

    0 讨论(0)
  • 2020-12-08 04:27

    This can be installed via conda with the command conda install -c anaconda python=3.7 as per https://anaconda.org/anaconda/python.

    Though not all packages support 3.7 yet, running conda update --all may resolve some dependency failures.

    0 讨论(0)
提交回复
热议问题