pip install sklearn python code example
Example 1: install sklearn
pip install scikit-learn
Example 2: pip install sklearn specific version
pip uninstall scikit-learn
pip install scikit-learn==0.18.2
Example 3: how to update sklearn
conda config --append channels conda-forge
conda install scikit-learn=0.19.2