使火车核心//导入错误:DDL加载失败

时间:2019-04-09 09:11:44

标签: python rasa-core

我想让starter-pack-rasa-stack https://github.com/RasaHQ/starter-pack-rasa-stack为我工作。 尝试制作火车核心时,我遇到了DDL加载问题。

我想说的是,我正在使用spacy_sklearn的德语版本,如果有什么不同的话。

Traceback (most recent call last):
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\train.py", line 6, in <module>
    from rasa_core import config, cli
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\config.py", line 6, in <module>
    from rasa_core.policies import PolicyEnsemble
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\policies\__init__.py", line 4, in <module>
    from rasa_core.policies.keras_policy import KerasPolicy
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\policies\keras_policy.py", line 5, in <module>
    import tensorflow as tf
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 59, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "C:\Users\Yannic\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
    from google.protobuf.pyext import _message
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

这是我的输出。

1 个答案:

答案 0 :(得分:0)

pip install protobuf==3.6.0

这解决了我的问题。

Tensorflow error : DLL load failed: The specified procedure could not be found