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}] uses the options opts for the executable. | |
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[2]= |
Use an ExternalSessionObject:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
Use a UUID:
In[5]:= |
Out[5]= |
Validate a python executable path:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
In[8]:= |
Out[8]= |
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License