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