Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

update to python 3.7 using anaconda

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 suggestions?

like image 541
Dnaiel Avatar asked Oct 25 '17 18:10

Dnaiel


People also ask

How do I get Python 3.7 on anaconda?

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.

How to update Python version in Anaconda?

Open Anaconda prompt and type “pip install python - - upgrade”or “pip install python - - U”. Now, Check the version of python by typing “python - - version” .It will be update to the recent python version.

What's new at Anaconda?

Apart from the numerous performance improvements, we at Anaconda especially are looking forward to using breakpoint () and testing deterministic .pyc files from a "reproducible builds" perspective. If you have a Python 3 environment with Anaconda installed, you can now easily update it to Python 3.7:

What is the latest version of Conda for Python?

It also includes conda version 4.5.11, which has over 20 bug fixes and improvements as compared to the previous conda version included in Miniconda v4.5.4. Stay tuned for a new Python 3.7 release of the Anaconda installers in September!

How many Python packages are available in Anaconda?

We are pleased to announce that Python 3.7 packages for all supported platforms and packages of the Anaconda Distribution Repository ( repo.anaconda.com) are now available. There are 865 packages built for Linux, 864 packages built for macOS, and 779 packages built for Windows.


5 Answers

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.

like image 52
mcguip Avatar answered Oct 18 '22 19:10

mcguip


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.

like image 30
darthbith Avatar answered Oct 18 '22 18:10

darthbith


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

like image 22
stephenb Avatar answered Oct 18 '22 19:10

stephenb


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
like image 17
Aaron Avatar answered Oct 18 '22 20:10

Aaron


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

like image 5
Tom.chen.kang Avatar answered Oct 18 '22 18:10

Tom.chen.kang