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