我在使用torch包时遇到了这个错误。
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Input In [12], in <module>
1 import random
----> 2 import torch
3 from torch import nn, optim
4 # import skopt
File /usr/lib/python3.10/site-packages/torch/__init__.py:197, in <module>
195 if USE_GLOBAL_DEPS:
196 _load_global_deps()
--> 197 from torch._C import * # noqa: F403
199 # Appease the type checker; ordinarily this binding is inserted by the
200 # torch._C module initialization code in C
201 if TYPE_CHECKING:
ImportError: libcupti.so.11.5: cannot open shared object file: No …Run Code Online (Sandbox Code Playgroud)