conda install slklearn code example
Example 1: install sklearn
pip install scikit-learn
Example 2: conda install package
#To install a package in currently active enviroment
conda install package-name
Example 3: how to update sklearn
conda config --append channels conda-forge
conda install scikit-learn=0.19.2
Example 4: conda install package
#To install specific package version into a specific named environment
conda install package-name=2.3.4 -n some-environment