Check the Scikit-Learn Version Installed

You can check the Scikit-Learn version installed using this syntax:

import sklearn

print(sklearn.__version__)

Run the code in Python, and you’ll get the version of Scikit-Learn.

Here is an example of the version installed that you may get:

1.4.0

Check the version installed using the command line

You can also check the Scikit-Learn version installed using the command line (make sure to add Python to the Path before running this command):

pip show scikit-learn

The result:

Name: scikit-learn
Version: 1.4.0
Summary: A set of python modules for machine learning and data mining

Leave a Comment