install scikit-learn==0.19.1 ubuntu code example Example: version of scikit learn In [3]: import sklearn In [4]: sklearn.__version__ Out[4]: '0.19.0'