-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker error when start v 1.9.0 #580
Comments
I also got such error for 1.9.0 when pulling the latest docker image on arm PC. I don't know if #561 could solve such issue. |
I had encountered the same issue on my MacBook while pull the image version 1.9.0. However, the version 1.8.9 is running normally. Environment: The docker logs as below: 2025-02-12 10:22:09 /usr/local/lib/python3.12/site-packages/stanza/models/common/beam.py:6: SyntaxWarning: invalid escape sequence '\ ' |
This issue has been fixed in the latest development version. Please wait patiently for the next release. |
I encountered the same issue, and version 1.8.9 works fine. |
raceback (most recent call last):
File "/usr/local/bin/pdf2zh", line 4, in
from pdf2zh.pdf2zh import main
File "/usr/local/lib/python3.12/site-packages/pdf2zh/init.py", line 2, in
from pdf2zh.high_level import translate, translate_stream
File "/usr/local/lib/python3.12/site-packages/pdf2zh/high_level.py", line 25, in
from pdf2zh.doclayout import OnnxModel
File "/usr/local/lib/python3.12/site-packages/pdf2zh/doclayout.py", line 4, in
import cv2
File "/usr/local/lib/python3.12/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/usr/local/lib/python3.12/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/pdf2zh", line 4, in
from pdf2zh.pdf2zh import main
File "/usr/local/lib/python3.12/site-packages/pdf2zh/init.py", line 2, in
from pdf2zh.high_level import translate, translate_stream
File "/usr/local/lib/python3.12/site-packages/pdf2zh/high_level.py", line 25, in
from pdf2zh.doclayout import OnnxModel
File "/usr/local/lib/python3.12/site-packages/pdf2zh/doclayout.py", line 4, in
import cv2
File "/usr/local/lib/python3.12/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/usr/local/lib/python3.12/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: