pip install scikit learn whl 0.23.2 code example Example: version of scikit learn In [3]: import sklearn In [4]: sklearn.__version__ Out[4]: '0.19.0'