how to check if i have pytorch installed code example Example: get pytorch version import torch print(torch.__version__)