pip install sklearn.datasets code example
Example 1: how to update sklearn
conda update scikit-learn
Example 2: pip install sklearn specific version
pip uninstall scikit-learn
pip install scikit-learn==0.18.2
conda update scikit-learn
pip uninstall scikit-learn
pip install scikit-learn==0.18.2