马一丁

Update README-EN.md

@@ -384,18 +384,7 @@ conda activate your_conda_name @@ -384,18 +384,7 @@ conda activate your_conda_name
384 uv venv --python 3.11 # Create Python 3.11 environment 384 uv venv --python 3.11 # Create Python 3.11 environment
385 ``` 385 ```
386 386
387 -### 2. Install Dependencies  
388 -  
389 -```bash  
390 -# Basic dependency installation  
391 -pip install -r requirements.txt  
392 -  
393 -# uv version command (faster installation)  
394 -uv pip install -r requirements.txt  
395 -# 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.  
396 -```  
397 -  
398 -### 3. Install System Dependencies for PDF Export (Optional) 387 +### 2. Install System Dependencies for PDF Export (Optional)
399 388
400 > ⚠️ **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. 389 > ⚠️ **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.
401 390
@@ -457,6 +446,19 @@ sudo yum install -y pango gdk-pixbuf2 libffi-devel cairo @@ -457,6 +446,19 @@ sudo yum install -y pango gdk-pixbuf2 libffi-devel cairo
457 446
458 > 💡 **Tip**: If using Docker deployment, no need to manually install these dependencies, the Docker image already contains all necessary system dependencies. 447 > 💡 **Tip**: If using Docker deployment, no need to manually install these dependencies, the Docker image already contains all necessary system dependencies.
459 448
  449 +### 3. Install Dependencies
  450 +
  451 +> If you skip step 2, the weasyprint library will fail to install, which is expected.
  452 +
  453 +```bash
  454 +# Basic dependency installation
  455 +pip install -r requirements.txt
  456 +
  457 +# uv version command (faster installation)
  458 +uv pip install -r requirements.txt
  459 +# 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.
  460 +```
  461 +
460 ### 4. Install Playwright Browser Drivers 462 ### 4. Install Playwright Browser Drivers
461 463
462 ```bash 464 ```bash