mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-04-23 04:06:21 +08:00
Use uv run python3 x.py instead of uv run x.py (#13966)
### Use uv run python3 x.py instead of uv run x.py When directly call `uv run x.py` it will use the python in shebang, it does not work if the default python lack of some packages, so change it to best practices `uv run python3 x.py` ### Type of change - [x] Documentation Update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Documentation** * Updated development setup instructions across all README files (English and multiple language translations) to use explicit Python interpreter invocation for the dependency download command. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@ -329,7 +329,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Launch the dependent services (MinIO, Elasticsearch, Redis, and MySQL) using Docker Compose:
|
||||
|
||||
@ -329,7 +329,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. قم بتشغيل الخدمات التابعة (MinIO وElasticsearch وRedis وMySQL) باستخدام Docker Compose:
|
||||
|
||||
@ -320,7 +320,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Lancez les services dépendants (MinIO, Elasticsearch, Redis et MySQL) avec Docker Compose :
|
||||
|
||||
@ -303,7 +303,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Jalankan aplikasi yang diperlukan (MinIO, Elasticsearch, Redis, dan MySQL) menggunakan Docker Compose:
|
||||
|
||||
@ -303,7 +303,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Docker Compose を使用して依存サービス(MinIO、Elasticsearch、Redis、MySQL)を起動する:
|
||||
|
||||
@ -298,7 +298,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
|
||||
|
||||
@ -320,7 +320,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # instala os módulos Python dependentes do RAGFlow
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Inicie os serviços dependentes (MinIO, Elasticsearch, Redis e MySQL) usando Docker Compose:
|
||||
|
||||
@ -324,7 +324,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # RAGFlow'un bağımlı Python modüllerini yükler
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. Bağımlı hizmetleri (MinIO, Elasticsearch, Redis ve MySQL) Docker Compose kullanarak başlatın:
|
||||
|
||||
@ -330,7 +330,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
3. 透過 Docker Compose 啟動依賴的服務(MinIO, Elasticsearch, Redis, and MySQL):
|
||||
|
||||
@ -330,7 +330,7 @@ docker build --platform linux/amd64 \
|
||||
git clone https://github.com/infiniflow/ragflow.git
|
||||
cd ragflow/
|
||||
uv sync --python 3.12 # install RAGFlow dependent python modules
|
||||
uv run download_deps.py
|
||||
uv run python3 download_deps.py
|
||||
pre-commit install
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user