Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
List Python packages available on your machine
| ResourceFunction["PythonPackageList"][] lists installed Python packages. | |
| ResourceFunction["PythonPackageList"][python] lists packages for the installation python. | 
List currently available Python packages:
| In[1]:= | ![ResourceFunction["PythonPackageList"][]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/170d5ce54eb6183e.png)  | 
| Out[1]= |   | 
Check a particular Python session:
| In[2]:= | ![session = StartExternalSession["Python"]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/3525594b7366a51d.png)  | 
| Out[2]= |   | 
| In[3]:= | ![ResourceFunction["PythonPackageList"][session]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/7705beb31f397e3b.png)  | 
| Out[3]= |   | 
| In[4]:= | ![DeleteObject[session]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/24c5d9ac1545956f.png)  | 
Check a specific Python installation using a path:
| In[5]:= | ![path = ResourceFunction["FindPythonExecutable"][]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/0b4a06bd5f1a773c.png)  | 
| Out[5]= |   | 
| In[6]:= | ![ResourceFunction["PythonPackageList"][path]](https://www.wolframcloud.com/obj/resourcesystem/images/df0/df0ea801-ac69-4443-af05-e0baa5e17b0e/11f6ffd29788aa35.png)  | 
| Out[6]= |   | 
This work is licensed under a Creative Commons Attribution 4.0 International License