Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Automatically attempt to find a Python executable on the current machine
ResourceFunction["FindPythonExecutable"][] searches for a Python executable on the current machine and asks to install it with SystemInstall if not found. |
|
ResourceFunction["FindPythonExecutable"][{"Python",opts}] gets the executable corresponding to the options opts of the Python eveluator. |
|
ResourceFunction["FindPythonExecutable"][assoc] gets the executable specified by assoc. |
|
ResourceFunction["FindPythonExecutable"][ExternalSessionObject[…]] gets the executable corresponding to the given Python session. |
|
ResourceFunction["FindPythonExecutable"]["uuid"] finds a Python executable for the external evaluator corresponding to the given UUID. |
Find a Python executable on the current system:
In[1]:= |
Out[1]= |
Get the executable corresponding to an association:
In[2]:= |
Out[1]= |
Use an ExternalSessionObject:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
Use a UUID:
In[5]:= |
Out[5]= |
This work is licensed under a Creative Commons Attribution 4.0 International License