Skip to content
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

没有权限,求解 #127

Open
wuMaoTou opened this issue Jan 18, 2018 · 0 comments
Open

没有权限,求解 #127

wuMaoTou opened this issue Jan 18, 2018 · 0 comments

Comments

@wuMaoTou
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant