I had Anaconda 3 installed on my system and python registered with the following link:
RegisterExternalEvaluator["Python","C:\\Users\\atfai\\Anaconda3\\python.exe"]
I recently updated some libraries in Anaconda 3 and then
ExternalEvaluate
and ExternalLanguage
cell stopped working giving the following error.
StartExternalSession::noinstall: No valid installations for system Python were found with the options specified.
So I cleared the cache of the ExternalEvaluate
using the following command:
ExternalEvaluate`Private`resetCache[]
and attempted to register again:
RegisterExternalEvaluator["Python","C:\\Users\\atfai\\Anaconda3\\python.exe"]
giving the following weird error:
RegisterExternalEvaluator::invalid: -- Message text not found -- (ExternalEvaluate`Private`reason)
I rebooted my computer but nothing is fixing the issue. Please help.
zmq
installed. $\endgroup$conda install python = 3.6.7
, it worked again. Since I did installed new libraries and did a general update it updated my python version to 3.6.8 which is not working withExternalEvaluate
(mathematica 11.3). Maybe it will be supported from 12.0 onwards. $\endgroup$RegisterExternalEvaluator
and it showed inFindExternalEvaluators
as registered then instead of usingUnregisterExternalEvaluator
first i directly used theresetCache[]
command which removed it from list generated byFindExternalEvaluators
but probably remained registered which could have bugged my installation. Can you try this and see whether you can register again and reproduce my bug? $\endgroup$ExternalEvaluate`Private`resetCache[]
, I remove the python low version before unregistering it, and this function helps clean it out. $\endgroup$