简体   繁体   English

无法训练RASA-CORE模型投掷回溯:来自google.protobuf.pyext import _message ImportError:DLL加载失败:访问被拒绝

[英]Unable to train RASA-CORE Model throwing traceback :from google.protobuf.pyext import _message ImportError: DLL load failed: Access is denied

windows 10 Python 3.7.3 I am trying to train my rasa-core model using make commend and it's throwing below traceback in windows commandprompt: windows 10 Python 3.7.3我试图用make命令训练我的rasa-core模型,它在windows命令提示符下面抛出traceback:

I have tried running CMD as administrator and then training rasa-core model but it gives me same traceback. 我曾尝试以管理员身份运行CMD,然后训练rasa-core模型,但它给了我相同的追溯。 Can't find anything related to rasacore in internet so not sure if other solutions are relevant to this error 在互联网上找不到与rasacore相关的任何内容,因此不确定其他解决方案是否与此错误相关

C:\Users\mrawat\starter-pack-rasa-stack>make train-core
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c policies.yml
Traceback (most recent call last):
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_core\__init__.py", line 6, in <module>
    from rasa_core.test import test
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_core\test.py", line 19, in <module>
    from rasa_core.policies.form_policy import FormPolicy
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_core\policies\__init__.py", line 1, in <module>
    from rasa_core.policies.policy import Policy
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa_core\policies\policy.py", line 3, in <module>
    import tensorflow as tf
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "C:\Users\mrawat\AppData\Local\Programs\Python\Python37\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
    from google.protobuf.pyext import _message
ImportError: DLL load failed: Access is denied.
make: *** [train-core] Error 1

I believe protobuf 3.7.1 is not compatible with rasa-core starter pack model downgrading the protobuf==3.6.0 solved my problem in windows10 machine. 我相信protobuf 3.7.1与rasa-core starter pack模型不兼容,降级protobuf == 3.6.0解决了我在windows10机器上的问题。

pip install protobuf==3.6.0 pip install protobuf == 3.6.0

found details : Make train-core // Import Error : DDL Load failed 发现详细信息: make train-core //导入错误:DDL加载失败

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 &#39;从wx.core import *&#39;ImportError:DLL加载失败:找不到模块 - 'from wx.core import *' ImportError: DLL load failed: Module Not Found 从.cv2导入* ImportError:DLL加载失败:找不到指定的模块 - from .cv2 import * ImportError: DLL load failed: The specified module could not be found 无法访问 Jupyter Notebook。 导入错误:DLL 加载失败:%1 不是有效的 Win32 应用程序 - Unable to access Jupyter Notebook. ImportError: DLL load failed: %1 is not a valid Win32 application 尝试在 Windows 上导入 pymssql 时出现“ImportError: DLL load failed” - “ImportError: DLL load failed” when trying to import pymssql on Windows 无法使 HttpNegotiateAuth 模块工作。 导入错误:DLL 加载失败 - Unable to get HttpNegotiateAuth module working. ImportError: DLL load failed PyInstaller ImportError:DLL加载失败 - PyInstaller ImportError: DLL load failed 导入cv2 ImportError:DLL加载失败:%1已经检查了相关帖子 - import cv2 ImportError: DLL load failed: %1 Allready have checked related posts ImportError: DLL 在导入模块时加载失败 - ImportError: DLL load failed while importing module 导入错误 DLL 加载失败,sklearn linear_model - Import Error DLL load failed, sklearn linear_model ImportError:DLL加载失败:找不到指定的过程。 (进口sklearn) - ImportError: DLL load failed: The specified procedure could not be found. (import sklearn)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM