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