Closed q2333gh closed 3 months ago
Here is the solution gpt4 tell me :
You're right, the VikParuchuri/marker
project does not have a requirements.txt
file. However, it uses a pyproject.toml
and poetry.lock
file for managing dependencies¹. This is a common practice in projects that use Poetry for dependency management.
Here are the steps to install the dependencies for this project:
1. Install Poetry: Poetry is a tool for dependency management and packaging in Python. You can install it with the following command:
pip install poetry
git clone https://github.com/VikParuchuri/marker.git
cd marker
poetry install
This command reads the pyproject.toml
and poetry.lock
files in the project directory and installs all the dependencies listed there¹.
Additionally, the project seems to use ocrmypdf
as an optional OCR backend¹. You can install it separately if you want to use this feature¹.
Please note that the project requires Python 3.9+ and PyTorch¹. Make sure you have these installed before you proceed.
If you encounter any issues during the installation, feel free to ask for help! 😊
Source: Conversation with Copilot, 6/6/2024 (1) GitHub - VikParuchuri/marker: Convert PDF to markdown quickly with high .... https://github.com/VikParuchuri/marker. (2) The way to install VikParuchuri/marker on Windows 10. #12 - GitHub. https://github.com/VikParuchuri/marker/issues/[1](https://github.com/VikParuchuri/marker)2. (3) marker-pdf · PyPI. https://pypi.org/project/marker-pdf/. (4) undefined. https://visualstudio.microsoft.com/vs/community/. (5) undefined. https://developer.nvidia.com/cuda-downloads. (6) undefined. https://download.pytorch.org/whl/cu121. (7) undefined. https://github.com/facebookresearch/detectron2.git. (8) undefined. https://digi.bib.uni-mannheim.de/tesseract/. (9) undefined. https://ghostscript.readthedocs.io/en/gs10.02.0/Install.html. (10) undefined. https://github.com/VikParuchuri/marker.git.
I have cloned marker into local computer. But got no clue to download all dependencies for this project.
This question seems a little bit silly. but if anyone can help that all be great!