ubuntu sklearn==0.24.0 code example Example 1: install sklearn pip install scikit-learn Example 2: scikit-learn install error pip install -U scikit-learn