Skyexu/TopSup

没有权限,求解

wuMaoTou opened this issue · 0 comments

File "/home/lichun/TopSup-master (2)/GetQuestionAndroid.py", line 36, in
question, choices = ocr.ocr_img_tess(img, config)
File "/home/lichun/TopSup-master (2)/common/ocr.py", line 139, in ocr_img_tess
region_text = pytesseract.image_to_string(region_im, lang='chi_sim', config=tessdata_dir_config)
File "/usr/local/lib/python3.4/dist-packages/pytesseract/pytesseract.py", line 122, in image_to_string
config=config)
File "/usr/local/lib/python3.4/dist-packages/pytesseract/pytesseract.py", line 46, in run_tesseract
proc = subprocess.Popen(command, stderr=subprocess.PIPE)
File "/usr/lib/python3.4/subprocess.py", line 859, in init
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied