运行TensorFlow程序premade_estimator.py时出错

时间:2018-06-11 03:53:54

标签: tensorflow tensorflow-estimator

我在CPU版本中运行tensorFlow,在Windows中运行本机pip。在运行TensorFlow进行检查时,你好TensorFlow"输出时带有一些警告。 在运行Premade_estimator我遇到了错误:

enter image description here

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

假设你有最新版本的Tensorflow,它似乎没有正确导入。

当我运行脚本并且在同一个文件夹中我已经下载了tensorflow时遇到了这个错误,因此在导入“tensorflow”时它会导入我所在的tensorflow文件夹,而不是安装的tensorflow库。