python sklearn version code example
Example 1: install sklearn
pip install scikit-learn
Example 2: conda install scikit-learn
conda install -c anaconda scikit-learn
Example 3: conda install sklearn 0.20
conda install scikit-learn=0.20
Example 4: install sklearn
sudo pip3 install scikit-learn