小编Fun*_*yer的帖子

导入错误:libcupti.so.11.5:无法打开共享对象文件:没有这样的文件或目录

我在使用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)

linux cuda manjaro pytorch

6
推荐指数
0
解决办法
3048
查看次数

标签 统计

cuda ×1

linux ×1

manjaro ×1

pytorch ×1