查看pytorch的版本 1.首先在终端中输入python进入python交互式环境 2.接着输入 import torch print(torch.__version__) #注意是双下划线 如图所示即可