#2180·jinja

TypeError: 在 Python 3.14 上,无法将 'tuple' 用作 LRUCache 的字典键

作者: baconisgood99-ship-it创建于 2026年6月1日更新于 2026年8月24日

环境:

  • Python 3.14.5
  • Jinja2 3.1.6
  • Starlette/FastAPI (TemplateResponse)
  • Windows 10
  • 以 PyInstaller 打包的可执行文件形式运行