install sklear code example Example 1: conda install sklearn 0.20 conda install scikit-learn=0.20 Example 2: install sklearn sudo pip3 install scikit-learn