#1961·autokeras

错误: 由于依赖 keras>=3.0.0, Python 版本要求不一致

作者: Anselmoo创建于 2025年12月28日更新于 2025年12月28日
标签bug report

问题描述

Python 版本分类器和 pyproject.toml 中的 keras 依赖版本之间存在不一致。依赖中指定了 keras>=3.0.0,但 keras 3.x 要求 Python >=3.11,而 AutoKeras 中的分类器和 requires-Python 允许 Python 3.8 到 3.11。因此,使用 Python <3.11 的用户可能会遇到安装或运行时的问题。

内容来源: keras-team/autokeras