-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
issue
imghdr seems to be removed in Python 3.13:
(venv) Name@Mac pydocscan % docscan images output
Traceback (most recent call last):
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/bin/docscan", line 5, in <module>
from docscan.cmd.cli import main
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/lib/python3.13/site-packages/docscan/cmd/cli.py", line 2, in <module>
import imghdr
ModuleNotFoundError: No module named 'imghdr'
potential solutions
- use Python 3.12 instead of Python 3.13
followup issue
((venv) ) Name@Mac pydocscan % docscan images output
Traceback (most recent call last):
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/bin/docscan", line 5, in <module>
from docscan.cmd.cli import main
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/lib/python3.12/site-packages/docscan/cmd/cli.py", line 7, in <module>
import rembg
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/lib/python3.12/site-packages/rembg/__init__.py", line 5, in <module>
from .bg import remove
File "/Users/Name/Downloads/1005Automation/pydocscan/venv/lib/python3.12/site-packages/rembg/bg.py", line 7, in <module>
import onnxruntime as ort
ModuleNotFoundError: No module named 'onnxruntime'
solution:
((venv) ) Name@Mac pydocscan % pip install onnxruntime
conclusion
- nice idea of a package. however doesn't really work for me since it skews all A4 documents (just as the example document in the README)
Metadata
Metadata
Assignees
Labels
No labels