SKLearner Home | About | Contact | Examples

Uninstall Scikit-Learn with pip

scikit-learn can be easily uninstalled using pip, the standard package installer for Python.

This uninstallation procedure will work on Windows, macOS, and Linux where pip is installed.

To uninstall scikit-learn, simply run the following command in your terminal:

pip uninstall scikit-learn

To confirm that scikit-learn was successfully uninstalled, you can try to import it in a Python script or interactive shell:

import sklearn
print(sklearn.__version__)

Running the example should give an error like:

ModuleNotFoundError: No module named 'sklearn'


See Also