Files
zimoyin 09ac9944c6 docs: 记录 Win7 不支持及推荐架构,备份目录不进 git
实测确认 Win7 跑不了本服务,且不建议降级:
  · Win7 最高只支持 Python 3.8,项目要求 >=3.10
  · paddlepaddle 3.2.x 没有 cp38 轮子,3.8 上最高 3.0.0
  · uvicorn>=0.34 要求 3.9+,整条 Web 栈都要降
  · 源码有 120+ 处 3.9/3.10+ 注解,pydantic 模型需真正改写
  · GPU 不可行:CUDA 11.8 需 520+ 驱动,Win7 最高 472

推荐把服务放在 Win10+/Linux,Win7 只当浏览器客户端
(Chrome 109 / Firefox 115 ESR;IE11 不支持 fetch 与可选链)。

另:环境备份放在 backups/(本地快照),加进 .gitignore——
可复现的部分(pyproject / uv.lock / 源码)本来就在 git 里。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-19 00:28:05 +08:00

24 lines
368 B
Plaintext

.venv*/
__pycache__/
*.py[cod]
.pytest_cache/
.ruff_cache/
.env
data/
models/
.idea/
http/fixtures/*.jpg
http/fixtures/*.jpeg
http/fixtures/*.png
!http/fixtures/general_ocr_002.png
*.egg-info/
dist*/
build/
*.spec
# 打包产物的压缩包(体积可达数 GB),不要进仓库
*.zip
# 环境备份(本地快照,可复现的内容已在 git 里)
backups/