Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/287.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python &引用;导入错误:DLL加载失败“;建筑聊天机器人_Python_Python 3.6_Chatbot_Tensor - Fatal编程技术网

Python &引用;导入错误:DLL加载失败“;建筑聊天机器人

Python &引用;导入错误:DLL加载失败“;建筑聊天机器人,python,python-3.6,chatbot,tensor,Python,Python 3.6,Chatbot,Tensor,我是一个Python新手,在构建聊天机器人时遇到了这个错误。这是一个Tensorflow软件包错误,我不知道为什么我会得到它。我正在用Python 3.6构建聊天机器人。这是我一直得到的错误 Traceback (most recent call last): File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58,

我是一个Python新手,在构建聊天机器人时遇到了这个错误。这是一个Tensorflow软件包错误,我不知道为什么我会得到它。我正在用Python 3.6构建聊天机器人。这是我一直得到的错误

Traceback (most recent call last):
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python36\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python36\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/aryan/PycharmProjects/chatbot/main.py", line 6, in <module>
    import tflearn
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tflearn\__init__.py", line 4, in <module>
    from . import config
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tflearn\config.py", line 3, in <module>
    import tensorflow as tf
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\__init__.py", line 41, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\__init__.py", line 50, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 69, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\aryan\PycharmProjects\chatbot\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python36\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python36\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

非常感谢您的帮助:)

嗨,欢迎来到StackOverflow!您介意编辑您的帖子并向我们展示您的代码吗?嗨@DanielWalker,谢谢您的快速回复。很抱歉我反应太晚了。我用代码编辑了我的帖子,非常感谢你的帮助!我期待着得到你的帮助!这似乎是这个问题的重复:嗨,欢迎来到StackOverflow!您介意编辑您的帖子并向我们展示您的代码吗?嗨@DanielWalker,谢谢您的快速回复。很抱歉我反应太晚了。我用代码编辑了我的帖子,非常感谢你的帮助!我期待着得到你的帮助!这似乎是这个问题的重复: