I installed BreakoutDetection the module in Anaconda environment. When I tried to import the module using import breakout_detection
in jupyter notebook, I get the below error
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-18-96c0fdb15b96> in <module>()
----> 1 import breakout_detection
C:UserssgadiyarAppDataLocalContinuumAnaconda2libsite-packagesreakout_detection.py in <module>()
15 except ImportError:
16 return importlib.import_module('_breakout_detection')
---> 17 _breakout_detection = swig_import_helper()
18 del swig_import_helper
19 elif _swig_python_version_info >= (2, 6, 0):
C:UserssgadiyarAppDataLocalContinuumAnaconda2libsite-packagesreakout_detection.py in swig_import_helper()
14 return importlib.import_module(mname)
15 except ImportError:
---> 16 return importlib.import_module('_breakout_detection')
17 _breakout_detection = swig_import_helper()
18 del swig_import_helper
C:UserssgadiyarAppDataLocalContinuumAnaconda2libimportlib\__init__.pyc in import_module(name, package)
35 level += 1
36 name = _resolve_name(name[level:], package, level)
---> 37 __import__(name)
38 return sys.modules[name]
ImportError: DLL load failed: The specified procedure could not be found.
I could import the same module in python shell
I looked at the system paths (print sys.path
) and in both python shell and jupyter notebook. They both are the same. Executable path (print sys.executable
) is also the same for the both.
Can someone help me out on the steps I should take to resolve this issue? Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…