I'd same error and I solved it with change version of numpy.
Result of import torch
$ python
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import torch
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "", line 1, in
File "C:\Projects\Aspose\lib\site-packages\torch_init_.py", line 190, in
from torch._C import *
ImportError: numpy.core.multiarray failed to import
Result of import numpy
import numpy
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "", line 1, in
File "C:\Projects\Aspose\lib\site-packages\numpy_init_.py", line 305, in
win_os_check()
File "C:\Projects\Aspose\lib\site-packages\numpy_init.py", line 302, in _win_os_check
raise RuntimeError(msg.format(file)) from None
RuntimeError: The current Numpy installation ('C:\Projects\Aspose\lib\site-packages\numpy\init.py') fails to pass a sanity check due to a bug in the windows runtime.
Solution:
pip uninstall numpy
pip install numpy==1.19.3