mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 23:12:20 +00:00
update docs about python 3.13
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
ac828b7ce4
commit
21bd3d94af
23
docs/faq.md
23
docs/faq.md
@ -7,28 +7,7 @@ This is a collection of FAQ collected from the user questions on <https://github
|
||||
|
||||
### Is Python 3.13 supported?
|
||||
|
||||
Full support for Python 3.13 is currently waiting for [pytorch](https://github.com/pytorch/pytorch).
|
||||
|
||||
At the moment, no release has full support, but nightly builds are available. Docling was tested on Python 3.13 with the following steps:
|
||||
|
||||
```sh
|
||||
# Create a python 3.13 virtualenv
|
||||
python3.13 -m venv venv
|
||||
source ./venv/bin/activate
|
||||
|
||||
# Install torch nightly builds, see https://pytorch.org/
|
||||
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
|
||||
|
||||
# Install docling
|
||||
pip3 install docling
|
||||
|
||||
# Run docling
|
||||
docling --no-ocr https://arxiv.org/pdf/2408.09869
|
||||
```
|
||||
|
||||
_Note: we are disabling OCR since easyocr and the nightly torch builds have some conflicts._
|
||||
|
||||
Source: Issue [#136](https://github.com/DS4SD/docling/issues/136)
|
||||
Python 3.13 is supported from Docling 2.18.0.
|
||||
|
||||
|
||||
??? question "Install conflicts with numpy (python 3.13)"
|
||||
|
Loading…
Reference in New Issue
Block a user