Skip to content

Install errors #23

@lumira-admin

Description

@lumira-admin

I get install errors:

I do
pip install -e .

Collecting opencv-python<5.0.0.0,>=4.9.0.80 (from surya-ocr<0.6.0,>=0.5.0->marker-pdf<0.3.0,>=0.2.17->marker-api==0.1.0)
  Using cached opencv_python-4.10.0.84-cp37-abi3-macosx_12_0_x86_64.whl.metadata (20 kB)
INFO: pip is looking at multiple versions of surya-ocr to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install marker-api and marker-pdf because these package versions have conflicting dependencies.

The conflict is caused by:
    marker-pdf 0.2.17 depends on torch<3.0.0 and >=2.2.2
    surya-ocr 0.5.0 depends on torch<3.0.0 and >=2.3.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions