In [3]: import sklearn In [4]: sklearn.__version__ Out[4]: '0.19.0'
>>> import sklearn >>> print('The scikit-learn version is {}.'.format(sklearn.__version__)) The scikit-learn version is 0.24.1.