pip install skicit-learn code example Example 1: install sklearn pip install scikit-learn Example 2: install sklearn sudo pip3 install scikit-learn