Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(deps): incorrect nltk download dir (#7447)

小林在忙毕业设计45dfaf230c09
diff --git a/README.md b/README.md
index bc25138785..689ff92a41 100644
--- a/README.md
+++ b/README.md
@@ -305,6 +305,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_id.md b/README_id.md
index 65aaf01ef6..9dcea4eb2a 100644
--- a/README_id.md
+++ b/README_id.md
@@ -271,6 +271,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_ja.md b/README_ja.md
index 28b8b3a47e..66c7dde77e 100644
--- a/README_ja.md
+++ b/README_ja.md
@@ -267,6 +267,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_ko.md b/README_ko.md
index f501199dd6..7664e2e42c 100644
--- a/README_ko.md
+++ b/README_ko.md
@@ -266,6 +266,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_pt_br.md b/README_pt_br.md
index 7c72a5980d..630af7741d 100644
--- a/README_pt_br.md
+++ b/README_pt_br.md
@@ -290,6 +290,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # instala os módulos Python dependentes do RAGFlow
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_tzh.md b/README_tzh.md
index 2daa2c8f1e..060922002d 100644
--- a/README_tzh.md
+++ b/README_tzh.md
@@ -279,6 +279,7 @@ docker build --platform linux/amd64 --build-arg NEED_MIRROR=1 -f Dockerfile -t i
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/README_zh.md b/README_zh.md
index 6535042ac1..04bd4d2954 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -280,6 +280,7 @@ docker build --platform linux/amd64 --build-arg NEED_MIRROR=1 -f Dockerfile -t i
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
+ uv run download_deps.py
pre-commit install
```
diff --git a/docker/launch_backend_service.sh b/docker/launch_backend_service.sh
index c2adb7e75e..c76381fa85 100644
--- a/docker/launch_backend_service.sh
+++ b/docker/launch_backend_service.sh
@@ -47,6 +47,9 @@ STOP=false
# Array to keep track of child PIDs
PIDS=()
+# Set the path to the NLTK data directory
+export NLTK_DATA="./nltk_data"
+
# Function to handle termination signals
cleanup() {
echo "Termination signal received. Shutting down..."