Check out example codes for "pip install sklearn specific version". It will help you in understanding the concepts better.

Code Example 1

pip uninstall scikit-learn
pip install scikit-learn==0.18.2

Code Example 2

sudo pip3 install scikit-learn

Code Example 3

pip install scikit-learn

Learn ReactJs, React Native from akashmittal.com