2017-09-21 7 views
0

私はBreakoutDetectionというモジュールをAnaconda環境にインストールしました。私はjupyterノートにimport breakout_detectionを使用してモジュールをインポートしようとしたとき、私は両方で、私は(print sys.path)システムパスを見インポートエラー:JupyterノートブックでDLL読み込みに失敗しましたが、.pyファイルで動作しています

Iは、Pythonシェルに同じモジュールをインポートすることができ

--------------------------------------------------------------------------- 
ImportError        Traceback (most recent call last) 
<ipython-input-18-96c0fdb15b96> in <module>() 
----> 1 import breakout_detection 

C:\Users\sgadiyar\AppData\Local\Continuum\Anaconda2\lib\site-packages\breakout_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:\Users\sgadiyar\AppData\Local\Continuum\Anaconda2\lib\site-packages\breakout_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:\Users\sgadiyar\AppData\Local\Continuum\Anaconda2\lib\importlib\__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. 

以下のエラーを取得してpythonシェルとjupyterノートブック。どちらも同じです。実行可能パス(print sys.executable)も両方とも同じです。

この問題を解決するための手順を教えてもらえますか?ありがとう!

答えて

0

私はsklearn.Iはすべてpakagesをupgrateするために、私はちょうど( --all conda更新)を実行upgrated.So必要があり、それが最終的に働いていたいくつかのpakagesを推測インポートするとき、私は同じ問題に会いました。

関連する問題