本文介绍了AttributeError:模块"_pywrap_tensorflow_internal"没有属性"TFE_DEVICE_PLACEMENT_EXPLICIT_swigconstant"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Python 3.5 64位,Cuda 9.2,TensorFlow 1.11,Keras 2.2.4

I'm using Python 3.5 64 bit, Cuda 9.2, TensorFlow 1.11, Keras 2.2.4

我收到此错误:

卸载并重新安装TensorFlow停止了import tensorflow的消息,但问题仍然存在import keras.

Uninstalling and reinstalling TensorFlow stopped the message for import tensorflow, but the problem persists for import keras.

我已经看到dumpbin.exe对某些人有用,但是我一直无法使它起作用.

I have seen that dumpbin.exe has been useful for some people, but I've been unable to get it to work.

问题从今天早上开始,当时试图使Tensor Board正常工作.我正在用pip更新python模块,但不确定是什么原因引起的.

The problems started this morning while trying to get Tensor Board to work. I was updating python modules with pip and I'm not sure what set it off.

推荐答案

我遇到了相同的问题,并且已经在此处得到了解答一个>.请按照以下步骤解决此问题.您也可以在此处以查看解决方案.

I encountered the same issue and this has been answered here. Follow the steps to resolve this issue. You can also refer here to see the solution.

这篇关于AttributeError:模块"_pywrap_tensorflow_internal"没有属性"TFE_DEVICE_PLACEMENT_EXPLICIT_swigconstant"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 01:34