From d5b32de7816697a6cc165e532ffc0540c48c2d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=AB=E6=8B=89=E5=8F=A4?= <61447879+yechaoying@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:38:49 +0800 Subject: [PATCH] Update Python version recommendations in README.md In Langchain-Chatchat/libs/chatchat-server/pyproject.toml, the rapidocr_onnxruntime dependency is specified as ~1.3.8, which requires onnxruntime version >=1.7.0. However, according to the ONNX Runtime 1.20.0 release notes, ONNX Runtime will no longer support Python 3.8 and 3.9 as of version 1.20.0, following NumPy's Python version support policy. --- docs/contributing/README_dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/README_dev.md b/docs/contributing/README_dev.md index 9be59030db..cfbb3e5df6 100644 --- a/docs/contributing/README_dev.md +++ b/docs/contributing/README_dev.md @@ -15,7 +15,7 @@ Langchain-Chatchat 自 0.3.0 版本起,为方便支持用户使用 pip 方式 ### 1.1 安装 Poetry -> 在安装 Poetry 之前,如果您使用 Conda,请创建并激活一个新的 Conda 环境,例如使用 `conda create -n chatchat python=3.9` 创建一个新的 Conda 环境。 +> 在安装 Poetry 之前,如果您使用 Conda,请创建并激活一个新的 Conda 环境,例如使用 `conda create -n chatchat python=3.11` 创建一个新的 Conda 环境。 安装 Poetry: [Poetry 安装文档](https://python-poetry.org/docs/#installing-with-pipx)