We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
若使用opencv-python则“libGL.so.1: cannot open shared object file: No such file or directory” opencv-python-headless则 ”Traceback (most recent call last): File "main.py", line 1, in import ddddocr File "/home/runner/ocr/venv/lib/python3.8/site-packages/ddddocr/init.py", line 12, in import cv2 File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 190, in bootstrap() File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 120, in bootstrap load_first_config(['config.py'], True) File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 118, in load_first_config raise ImportError('OpenCV loader: missing configuration file: {}. Check OpenCV installation.'.format(fnames)) ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.“
The text was updated successfully, but these errors were encountered:
手动安装libGL后解决
Sorry, something went wrong.
另:需指定版本”4.5.3.56“
No branches or pull requests
若使用opencv-python则“libGL.so.1: cannot open shared object file: No such file or directory”
opencv-python-headless则
”Traceback (most recent call last):
File "main.py", line 1, in
import ddddocr
File "/home/runner/ocr/venv/lib/python3.8/site-packages/ddddocr/init.py", line 12, in
import cv2
File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 190, in
bootstrap()
File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 120, in bootstrap
load_first_config(['config.py'], True)
File "/home/runner/ocr/venv/lib/python3.8/site-packages/cv2/init.py", line 118, in load_first_config
raise ImportError('OpenCV loader: missing configuration file: {}. Check OpenCV installation.'.format(fnames))
ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.“
The text was updated successfully, but these errors were encountered: