Import torch, module not found

import torch
File “C:\Users\Ashutosh\AppData\Local\Programs\Python\Python36\lib\site-packages\torch_init_.py”, line 79, in
from torch._C import *
ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath’

@ashu If your are facing this problem every time you import torch the it is better to reinstall pytorch package from below link


Choose your specification like OS, Package(eg: anaconda, pip), cuda version for gpu use.

I am facing the same issue. I have tried what you’ve suggested but it didnt work for me…What can be done?

May I know which Python Ide and OS you’re using?