Ich wollte gerade pytorch auf windows 10 und python 3.7.1 mit Hilfe von pip3 und folgenden Commands installieren:
Code: Alles auswählen
pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp37-cp37m-win_amd64.whl
pip3 install torchvision
Code: Alles auswählen
import torch
x = torch.Tensor(10, 10)
print(x)
Code: Alles auswählen
Traceback (most recent call last):
File "C:/Users/EiSiMo/Desktop/pytorch_1.py", line 1, in <module>
import torch
File "C:\Users\EiSiMo\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\__init__.py", line 80, in <module>
from torch._C import *
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Danke für alle Antworten.