Python TensorFlow 报错'tensorflow.compat.v2.__internal__' has no attribute 'tf2'解决
作者:互联网
本文主要介绍Python中,使用TensorFlow时,执行import Keras报错:AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'tf2'解决方法。
原文地址:Python TensorFlow 报错'tensorflow.compat.v2.__internal__' has no attribute 'tf2'解决方法
标签:compat,__,Python,attribute,报错,tf2 来源: https://www.cnblogs.com/tinyblog/p/15033085.html