AttributeError
作者: Setembru创建于 2020年9月15日更新于 2021年7月12日
运行 py deep_q_network.py 后,出现以下错误信息:
AttributeError: module 'tensorflow' has no attribute 'InteractiveSession'
然后运行 pip install --upgrade tensorflow==0.7,返回以下错误信息:
ERROR: Could not find a version that satisfies the requirement tensorflow==0.7 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)内容来源: yenchenlin/DeepLearningFlappyBird