Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install errors #23

Open
lumira-admin opened this issue Dec 24, 2024 · 1 comment
Open

Install errors #23

lumira-admin opened this issue Dec 24, 2024 · 1 comment

Comments

@lumira-admin
Copy link

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
@YoonJae00
Copy link

Me too 🥹


33.28 KeyError: 'sdpa'
33.29 Loaded detection model vikp/surya_det3 on device cpu with dtype torch.float32
33.29 Loaded detection model vikp/surya_layout3 on device cpu with dtype torch.float32
------
Dockerfile.gpu.server:61
--------------------
  59 |     RUN pip3 install --no-cache-dir -e .
  60 |
  61 | >>> RUN python -c 'from marker.models import load_all_models; load_all_models()'
  62 |
  63 |     EXPOSE 8080
--------------------
ERROR: failed to solve: process "/bin/sh -c python -c 'from marker.models import load_all_models; load_all_models()'" did not complete successfully: exit code: 1


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants