You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keeps comparing about having 1.0 version of dumpy?? I have lumpy 2x installed
...
run this sample code
from docling.document_converter import DocumentConverter
source = "https://arxiv.org/pdf/2408.09869" # PDF path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown()) # output: "### Docling Technical Report[...]"
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in
app.launch_new_instance()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/traitlets/config/application.py", line 1075, in launch_instance
app.start()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 739, in start
self.io_loop.start()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/tornado/platform/asyncio.py", line 205, in start
self.asyncio_loop.run_forever()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once
handle._run()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelbase.py", line 545, in dispatch_queue
await self.process_one()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelbase.py", line 534, in process_one
await dispatch(*args)
File "/opt/minico
The text was updated successfully, but these errors were encountered:
@simpliatanu
#create a fresh conda env
conda create -n docling_main python=3.11 pip ipykernel
conda activate docling_main
conda install poetry
#check if poetry is installed inside conda env by
which poetry
#now go to the project dir where poetry.toml file is there
#we dont want to again create one more ve
poetry config virtualenvs.create false
poetry install
As Docling does not build on 3.12 (#672) , I have created a virtual environment using virtualenv especially for it with Python 3.11.
While Docling itself builds there, every execution with a command line like docling --to md Test.pdfcauses the error reported by @simpliatanu
Bug
...
Steps to reproduce
keeps comparing about having 1.0 version of dumpy?? I have lumpy 2x installed
...
run this sample code
from docling.document_converter import DocumentConverter
source = "https://arxiv.org/pdf/2408.09869" # PDF path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown()) # output: "### Docling Technical Report[...]"
Docling version
...docling 2.14.0
docling-core 2.12.1
docling-ibm-models 3.1.0
docling-parse 3.0.0
Python version
...3.12.6
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in
app.launch_new_instance()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/traitlets/config/application.py", line 1075, in launch_instance
app.start()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 739, in start
self.io_loop.start()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/tornado/platform/asyncio.py", line 205, in start
self.asyncio_loop.run_forever()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once
handle._run()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelbase.py", line 545, in dispatch_queue
await self.process_one()
File "/opt/miniconda3/envs/py312_6/lib/python3.12/site-packages/ipykernel/kernelbase.py", line 534, in process_one
await dispatch(*args)
File "/opt/minico
The text was updated successfully, but these errors were encountered: