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?
6 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.
-
18You can also create an environment called
py37
using this command:conda create -n py37 -c anaconda python=3.7
. However I cannot seem to install other packages such as numpy/jupyter, usingconda install
. Dependency checks prevent it. Installation works usingpip install numpy jupyter
.– n1k31t4Jun 29, 2018 at 17:35 -
9The dependencies are not currently correctly configured for 3.7. This is an issue that should be shortly resolved and can be tracked here: github.com/ContinuumIO/anaconda-issues/issues/9686– mcguipJun 29, 2018 at 19:47
-
5I get errors when I try this: UnsatisfiableError: The following specifications were found to be in conflict: - python 3.7* Use "conda info <package>" to see the dependencies for each package. I did do an update of conda and then did conda info python=3.7 and it listed this strange "vc *14" and pip which is of course installed. Does anyone know if there is a place to report this to Anaconda? Jun 30, 2018 at 13:34
-
3@RichMeister the above link in my previous comment is the the appropriate issue tracker. The issue you’re experiencing has already been reported.– mcguipJul 2, 2018 at 14:18
-
2@mcguip Hi, Re: more issues - now fixed. I had a huge list of dependency errors. I did a conda update --all and now 3.7 installs. Jul 7, 2018 at 8:12
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.
-
2There are no Python 3.7 release candidate packages (as of May 4th 2018), neither in default channels nor in conda-forge channel. You can use "conda search python=3.7" to search for any Python packages with version numbers starting with "3.7" (which includes stable releases as well as betas or release candidates, if there are any; compare what "conda search python=3.6" reports)– megiesMay 4, 2018 at 14:47
-
3
-
Suppose I have 3.6 already installed. If I do "conda install -c anaconda python=3.7". Then, does the install command install 3.7 version along-side existing python (I have 3.6 existing) or does it upgrade the existing (3.6) to 3.7?– variableMar 19, 2020 at 15:59
-
It upgrades. You can check this by running the command with the
--dry-run
option. Mar 22, 2020 at 17:06
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