anaconda install package code example
Example 1: conda install package
#To install a package in currently active enviroment
conda install package-name
Example 2: how to install a library in anaconda
python -m pip install libraryname
Example 3: conda install package
#To install specific package version into a specific named environment
conda install package-name=2.3.4 -n some-environment
Example 4: anaconda install package
conda install package-name