Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Uninstall a Python package
ResourceFunction["PythonPackageUninstall"]["pkg"] uninstalls the Python package "pkg". | |
ResourceFunction["PythonPackageUninstall"][{"pkg1","pkg2",…}] uninstalls the specified packages. | |
ResourceFunction["PythonPackageUninstall"][python,"pkg"] uninstalls for the given Python installation. |
Use the resource function PythonPackageInstall to install a Python package without dependencies:
In[1]:= | ![]() |
Out[1]= | ![]() |
Uninstall it:
In[2]:= | ![]() |
Out[2]= | ![]() |
Install and uninstall several packages:
In[3]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
Install and uninstall a Python package with dependencies:
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License