From f67af71e9676bcfd23c08ac68f1ac006b844f4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=80=E4=B8=81?= <1769123563@qq.com> Date: Fri, 21 Nov 2025 12:10:33 +0800 Subject: [PATCH] Update README-EN.md --- README-EN.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README-EN.md b/README-EN.md index bd14309..5ecfc50 100644 --- a/README-EN.md +++ b/README-EN.md @@ -384,18 +384,7 @@ conda activate your_conda_name uv venv --python 3.11 # Create Python 3.11 environment ``` -### 2. Install Dependencies - -```bash -# Basic dependency installation -pip install -r requirements.txt - -# uv version command (faster installation) -uv pip install -r requirements.txt -# If you do not want to use the local sentiment analysis model (which has low computational requirements and defaults to the CPU version), you can comment out the 'Machine Learning' section in this file before executing the command. -``` - -### 3. Install System Dependencies for PDF Export (Optional) +### 2. Install System Dependencies for PDF Export (Optional) > ⚠️ **Note**: If you need to use the PDF export function, please install system dependencies following the steps below. If you don't need PDF export, you can skip this step, and other system functions will not be affected. @@ -457,6 +446,19 @@ sudo yum install -y pango gdk-pixbuf2 libffi-devel cairo > 💡 **Tip**: If using Docker deployment, no need to manually install these dependencies, the Docker image already contains all necessary system dependencies. +### 3. Install Dependencies + +> If you skip step 2, the weasyprint library will fail to install, which is expected. + +```bash +# Basic dependency installation +pip install -r requirements.txt + +# uv version command (faster installation) +uv pip install -r requirements.txt +# If you do not want to use the local sentiment analysis model (which has low computational requirements and defaults to the CPU version), you can comment out the 'Machine Learning' section in this file before executing the command. +``` + ### 4. Install Playwright Browser Drivers ```bash