本文介绍了使火车核心//导入错误:DDL加载失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想获取starter-pack-rasa-stack https://github .com/RasaHQ/starter-pack-rasa-stack 为我工作.尝试制作火车核心时,我遇到了DDL加载问题.
I wanted to get the starter-pack-rasa-stack https://github.com/RasaHQ/starter-pack-rasa-stack working for me.While trying to make train-core I encountered a Problem with DDL load.
我想说的是我正在使用spacy_sklearn的德语版本,如果有什么不同的话.
I want to say that I am using the german Version of spacy_sklearn, if this makes any difference.
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.
这是我的输出.
推荐答案
pip install protobuf==3.6.0
这解决了我的问题.
这篇关于使火车核心//导入错误:DDL加载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!