how to install packages using conda 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 import specific version

conda install <pkg>=<version>

#for example

conda install matplotlib=1.4.3

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

Tags:

Sql Example