问题描述
C:\ Users \ Raj Kubal> python Python 3.7.6(默认值,2020年1月8日,20:23:39)[MSC v.1916 64位(AMD64)] ::在Win32上的Anaconda,Inc。
警告: 该Python解释器位于conda环境中,但该环境具有 未激活。库可能无法加载。激活此环境 请参阅https://conda.io/activation
>>> import tensorflow
Traceback (most recent call last):
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",line 64,in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
在处理上述异常期间,发生了另一个异常:
Traceback (most recent call last):
File "<stdin>",line 1,in <module>
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\__init__.py",line 41,in <module>
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\__init__.py",line 40,in <module>
from tensorflow.python.eager import context
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\eager\context.py",line 35,in <module>
from tensorflow.python import pywrap_tfe
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py",line 28,in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",line 83,in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Raj Kubal\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
无法加载本机TensorFlow运行时。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)