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
hulk@hulk:~/12306-ocr$ python main.py
Traceback (most recent call last):
File "main.py", line 8, in <module>
from web import Web
File "/home/hulk/12306-ocr/web.py", line 5, in <module>
from ocr.ml_predict import Predict
File "/home/hulk/12306-ocr/ocr/ml_predict.py", line 5, in <module>
import cv2, os
File "/home/hulk/.local/lib/python3.7/site-packages/cv2/__init__.py", line 3, in <module>
from .cv2 import *
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Original exception was:
Traceback (most recent call last):
File "main.py", line 8, in <module>
from web import Web
File "/home/hulk/12306-ocr/web.py", line 5, in <module>
from ocr.ml_predict import Predict
File "/home/hulk/12306-ocr/ocr/ml_predict.py", line 5, in <module>
import cv2, os
File "/home/hulk/.local/lib/python3.7/site-packages/cv2/__init__.py", line 3, in <module>
from .cv2 import *
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: