install scikit-learn==0.19.1 in ubuntu code example Example: pip install sklearn specific version pip uninstall scikit-learn pip install scikit-learn==0.18.2