how to open pytorch in ubuntu code example Example: get pytorch version import torch print(torch.__version__)