update a package in a conda environment code example
Example 1: conda update package
# Basic syntax:
conda update packagename # To update specific package in the current env
conda update --all # To update all packages in the current environment
conda update -n myenv --all # To update all packages in myenv environment
Example 2: conda install package
#To install a package in currently active enviroment
conda install package-name
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