It was caused by the missing of some of the dependencies: mkl, mkl-fft, intel-openmp and VC 2017 Redist.
For conda packages:
conda install mkl mkl-fft intel-openmp numpy
# If package not found, do this
conda update conda
For wheel packages:
pip install mkl mkl-fft intel-openmp numpy
And then download VC 2017 Redist and install it.
A reboot may be required for the libraries to take effect.
If this persists, it may be related to your environmental variables, such as PATH
.
Make sure it is not broken and at least point to the following locations:
[PythonRoot]
[PythonRoot]\Library\bin
[PythonRoot]\Scripts
[PythonRoot]\bin
%SYSTEMROOT%
P.S:
#7579 ImportError: DLL load failed: The operating system cannot run %1.
does not seem to be the same issue with this.
It is related to Anaconda. Fix command: conda install -c defaults intel-openmp -f
.
If you want to help us, please provide us the logs with python -v -c 'import torch'
and the result of the following code:
# pip install psutil first
import psutil, os
p = psutil.Process( os.getpid() )
for dll in p.memory_maps():
print(dll.path)
(tensorflow1) C:\tensorflow1\models\research\object_detection>jupyter notebook object_detection_tutorial.ipynb
Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\tensorflow1\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\programdata\anaconda3\envs\tensorflow1\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\envs\tensorflow1\Scripts\jupyter-notebook.EXE_main.py", line 5, in
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\notebook\notebookapp.py", line 46, in
from zmq.eventloop import ioloop
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq_init.py", line 47, in
from zmq import backend
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq\backend_init_.py", line 40, in
reraise(*exc_info)
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq\backend_init_.py", line 27, in
ns = select_backend(first)
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq\backend\select.py", line 27, in select_backend
mod = import(name, fromlist=public_api)
File "c:\programdata\anaconda3\envs\tensorflow1\lib\site-packages\zmq\backend\cython_init.py", line 6, in
from . import (constants, error, message, context,
ImportError: DLL load failed: The specified module could not be found.
since i am using windows 10 ..pls help with reliable answer