-
currently the installation method in the docs specifies pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com This works for me but i have concerns on how to lock in dependencies when we do installation this way. pip install magic-pdf'[full]'==0.9.2 this was my error. im running on m3 mac os and am able to run the original installation on my macos and run the library on cpu. only the specific library installation does not work pip install magic-pdf'[full]'==0.9.2
Collecting magic-pdf==0.9.2 (from magic-pdf[full]==0.9.2)
Using cached magic_pdf-0.9.2-py3-none-any.whl.metadata (39 kB)
Collecting boto3>=1.28.43 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached boto3-1.35.61-py3-none-any.whl.metadata (6.7 kB)
Collecting Brotli>=1.1.0 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Downloading Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl.metadata (5.5 kB)
Collecting click>=8.1.7 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting fast-langdetect==0.2.0 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached fast_langdetect-0.2.0-py3-none-any.whl.metadata (2.9 kB)
Collecting loguru>=0.6.0 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB)
Collecting numpy<2.0.0,>=1.21.6 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Downloading numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting pdfminer.six==20231228 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached pdfminer.six-20231228-py3-none-any.whl.metadata (4.2 kB)
Collecting pydantic<2.8.0,>=2.7.2 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached pydantic-2.7.4-py3-none-any.whl.metadata (109 kB)
Collecting PyMuPDF>=1.24.9 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached PyMuPDF-1.24.13-cp39-abi3-macosx_11_0_arm64.whl.metadata (3.4 kB)
Collecting scikit-learn>=1.0.2 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Downloading scikit_learn-1.5.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (13 kB)
Collecting torch<=2.3.1,>=2.2.2 (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Downloading torch-2.3.1-cp310-none-macosx_11_0_arm64.whl.metadata (26 kB)
Collecting transformers (from magic-pdf==0.9.2->magic-pdf[full]==0.9.2)
Using cached transformers-4.46.2-py3-none-any.whl.metadata (44 kB)
Collecting unimernet==0.2.1 (from magic-pdf[full]==0.9.2)
Using cached unimernet-0.2.1-py3-none-any.whl.metadata (12 kB)
Collecting ultralytics (from magic-pdf[full]==0.9.2)
Using cached ultralytics-8.3.31-py3-none-any.whl.metadata (35 kB)
Collecting paddleocr==2.7.3 (from magic-pdf[full]==0.9.2)
Using cached paddleocr-2.7.3-py3-none-any.whl.metadata (26 kB)
Collecting struct-eqtable==0.3.2 (from magic-pdf[full]==0.9.2)
Using cached struct_eqtable-0.3.2-py3-none-any.whl.metadata (7.6 kB)
Collecting einops (from magic-pdf[full]==0.9.2)
Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting accelerate (from magic-pdf[full]==0.9.2)
Using cached accelerate-1.1.1-py3-none-any.whl.metadata (19 kB)
Collecting doclayout-yolo==0.0.2 (from magic-pdf[full]==0.9.2)
Using cached doclayout_yolo-0.0.2-py3-none-any.whl.metadata (8.9 kB)
INFO: pip is looking at multiple versions of magic-pdf[full] to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement detectron2; extra == "full" (from magic-pdf[full]) (from versions: none)
ERROR: No matching distribution found for detectron2; extra == "full" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can add |
Beta Was this translation helpful? Give feedback.
You can add
--extra-index-url https://wheels.myhloli.com
pip install magic-pdf'[full]'==0.9.2 --extra-index-url https://wheels.myhloli.com