How to solve this problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to solve this problem?

Traceback (most recent call last): File "E:\Microsoft_Edge_Downloads\ERDS-Pytorch-master\ERDS-Pytorch-master\train_CNN_pooled_improved.py", line 8, in <module> import torch # import torch File "C:\Users\zhenis\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\__init__.py", line 81, in <module> ctypes.CDLL(dll) File "C:\Users\zhenis\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

13th Jun 2021, 9:36 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Answers
+ 2
by installing the module named "torch", maybe... or by correcting a possible name spelling mistake ^^
13th Jun 2021, 9:39 AM
visph
visph - avatar
+ 4
Zhenis Otarbay , to get help from the community, please show us your code. place it in playground and link it here. your current post is not sufficient to catch the problem. thanks!
13th Jun 2021, 9:39 AM
Lothar
Lothar - avatar