I’ve just installed python 3.7 and pytorch using the pip install on pytorch.org
Whenever i try to import pytorch i get the error
Traceback (most recent call last):
File “C:/Users/awdawd/Google Drive/Deep Learning/Test.py”, line 1, in 
import torch
File “C:\Users\ww\AppData\Local\Programs\Python\Python37\lib\site-packages\torch__init__.py”, line 102, in 
from torch._C import *
ImportError: DLL load failed: Den angitte modulen ble ikke funnet.
Meaning “The given module could not be found”. I’m using pycharm and im pretty sure i’ve installed it correctly as pycharm lists pytorch and torchvision as modules i can use. Im also pretty sure its not a problem with pycharm, as I get the same error when running it outside.
Edit: It works now. I had to install a c++ repository from windows with msvcp140.dll.