conda update sklearn code example
Example 1: install sklearn
pip install scikit-learn
Example 2: conda install sklearn 0.20
conda install scikit-learn=0.20
Example 3: pip install sklearn specific version
pip uninstall scikit-learn
pip install scikit-learn==0.18.2
Example 4: how to update sklearn using conda
# Anaconda comes with the conda package manager which is designed to handle these kinds of upgrades
# Start by updating conda itself to get the most recent package lists:
conda update conda
# And then install the version of scikit-learn you want
conda install scikit-learn=0.17