how to check if torch is installed code example Example: mac install pytorch 3.6 conda install pytorch torchvision -c pytorch