How to register Anaconda3(Python3.7) as external evaluator enviroment?

I have installed Anaconda3 (version 5.3.1 for Windows with Python 3.7, 64-bit) as the Python working enviroment, but when trying to register it as an external evaluator, it RegisterExternalEvaluator fails.

RegisterExternalEvaluator["Python", "C:\\ProgramData\\Anaconda3\\python.exe"]

RegisterExternalEvaluator::invalid: -- Message text not found -- (ExternalEvaluatePrivatereason)


Mathematica can only can find the Python evaluator installed by SystemInstall["Python"], but I need to use the Anaconda version.

• Please eliminate the trivial issues, make sure you follow the documentation precisely, and if it still does not work, then fully update/rewrite the question (don't just comment), including all relevant information (what did you do, what happened e.g. errors messages, what did you expect to happen) – Szabolcs Nov 27 '18 at 10:44
• I am getting a failure (providing the path to the executable) with RegisterExternalEvaluator::invalid: -- Message text not found -- (ExternalEvaluatePrivatereason). – b.gates.you.know.what Nov 27 '18 at 11:26
• See the workflow Configure Python For ExternalEvaluate in the documentation. If after following those instructions you still have an issue then see this post (155821). – Edmund Nov 27 '18 at 12:30
• I do not use Windows anymore so I don't know where Anaconda puts the python executable. Are you sure that the file "C:\ProgramData\Anaconda3\python.exe" exists? Given the location of executables on other operating systems, that path looks a bit weird to me. – Szabolcs Nov 27 '18 at 12:47
• @Szabolcs The path checked again is correct on Windows, perhaps RegisterExternalEvaluator is not compatible with Python 3.7 in Anaconda3 directory. – Jerry Nov 27 '18 at 13:31

After reinstalling Anaconda different versions many times, it comes true that MMA does not support registering Python3.7 as an external evaluator now, so if Anaconda chosen to be used, choose the right version is necessary here, Anaconda3-5.2.0, which integrated Python3.6, more versions could be found at the archive site .
When Anaconda5.2 installed, follow the offical steps to make it. see more here and help center.
• @Kuba Not yet. I just try to determine whether it's proper to work with Python in the notebook or not. The default method supported by SystemInstall is enough at the end. – Jerry Dec 2 '18 at 11:42