module 'torch' has no attribute 'version'
这个错误通常与 PyTorch (torch) 库的安装或版本问题有关。根据您提供的路径 C:/Program Files (x86)/Google/two,这很可能是一个关键问题。
C:/Program Files (x86)/Google/two
核心问题与解决方案:
错误的安装路径:
C:/Program Files
C:/Windows
解决方案:
D:\pyVideoTrans
D:\
sp.exe
PyTorch 环境问题:
操作步骤总结:
请优先尝试更改路径,这通常是此类问题的根本原因。
Donate: https://ko-fi.com/jianchang512