Ошибка загрузки Pytorch [WinError 126]Python

Программы на Python
Anonymous
Ошибка загрузки Pytorch [WinError 126]

Сообщение Anonymous »


I can't solve this problem:

OSError Traceback (most recent call last) Cell In[3], line 1 ----> 1 import torch 2 from torch import nn 3 import numpy as np File d:\anaconda3\envs\RN\lib\site-packages\torch\__init__.py:141 139 err = ctypes.WinError(ctypes.get_last_error()) 140 err.strerror += f' Error loading "{dll}" or one of its dependencies.' --> 141 raise err 143 kernel32.SetErrorMode(prev_error_mode) 146 def _preload_cuda_deps(lib_folder, lib_name): OSError: [WinError 126] can't find this module. Error loading "d:\anaconda3\envs\RN\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. I reinstalled torch, but I can't solve it. And I even checked the file 'fbgemm.dll', it is there.


Источник: https://stackoverflow.com/questions/781 ... inerror126

Вернуться в «Python»