UnregisterExternalEvaluator

UnregisterExternalEvaluator[sys,exec]

unregisters the external evaluator at location exec for system sys so that it is not used by ExternalEvaluate and related functions.

UnregisterExternalEvaluator[uuid]

unregisters the external evaluator with the specified registration UUID.

Details

  • UnregisterExternalEvaluator[sys,exec] effectively blocks the executable exec from being used by ExternalEvaluate.
  • exec is an executable file that can be used to execute code for the language or system sys.
  • exec can be specified as File[].
  • In UnregisterExternalEvaluator[sys,], possible choices of sys include:
  • "Python"Python
    "NodeJS"JavaScript running through Node.js

Examples

open allclose all

Basic Examples  (2)

Remove an evaluator so that ExternalEvaluate cannot find it:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Register the evaluator so it can be used:

In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=

Manually specifying unregistered evaluator installations also fails if the evaluator has been unregistered:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Register it again with RegisterExternalEvaluator, and now it is usable:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Scope  (1)

See Also

RegisterExternalEvaluator  FindExternalEvaluators  DeleteObject

Tutorials

Introduced in 2017
(11.2)