sklearn import python code example
Example 1: conda install sklearn 0.20
conda install scikit-learn=0.20
Example 2: pip install sklearn specific version
pip uninstall scikit-learn
pip install scikit-learn==0.18.2
conda install scikit-learn=0.20
pip uninstall scikit-learn
pip install scikit-learn==0.18.2