conda install python package macos code example
Example 1: conda install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Example 2: conda install package
#To install a package in currently active enviroment
conda install package-name