install scikit learn on command prompt code example Example 1: install sklearn pip install scikit-learn Example 2: how to update sklearn conda update scikit-learn