【发布时间】:2020-08-19 05:27:19
【问题描述】:
import tflearn
from tflearn.layers.conv import conv_2d,max_pool_2d
from tflearn.layers.core import input_data,dropout,fully_connected
from tflearn.layers.estimator import regression
[代码片段][1] [1]:https://i.stack.imgur.com/rRcp4.png
我用过张量流==1.13.2,1.4,1.5,2.0 但错误仍然存在。
实际上,当我尝试导入 tflearn 和 tensorflow 时,它会抛出相同的错误 ModuleNotFoundError:
没有名为“_pywrap_tensorflow”的模块
无法加载原生 TensorFlow 运行时。 https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
出于一些常见原因和解决方案。包括整个堆栈跟踪 寻求帮助时出现此错误消息。
【问题讨论】:
标签: tensorflow tflearn