Skip to content

[Bug]: Consolidate installation to a single requirements.txt and remove manual dependency installs #1

@titanh

Description

@titanh

Bug Description

Description:
Currently, the installation instructions require users to perform multiple manual commands:

python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
python -m pip install "paddleocr[all]"
pip install -r requirements.txt

This setup leads to potential issues:

Manual steps make versioning and reproducibility harder to enforce.

Some dependencies are installed outside requirements.txt, so tracking / pinning becomes fragmented.

New users may be confused by multiple commands and CUDA-specific indexing (e.g., cu118) hard-coded.

CI / automated deployment (Docker, pipelines) benefit from a single consistent install command.

  1. Move all dependencies, including paddlepaddle-gpu, paddleocr[all], and supporting libraries into the requirements.txt. For example:

requirements.txt

paddlepaddle-gpu==3.0.0 -f https://www.paddlepaddle.org.cn/packages/stable/cu118/
paddleocr[all]

Steps to Reproduce

python -m pip install -r requirements.txt

Expected Behavior

.

Actual Behavior

.

Code Sample

Error Logs

RAPTOR Version

Aigle 0.1.0-beta

Python Version

3.10.14

Operating System

Linux

OS Version

Ubuntu 22.04

Environment Details

No response

Additional Context

No response

Pre-submission Checklist

  • I have searched for similar issues and found none
  • I have updated to the latest version of RAPTOR
  • I have provided all requested information
  • I have read the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions