install torch anaconda python3.9 code example Example: install torch anaconda conda install pytorch torchvision cudatoolkit=10.0 -c pytorch