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