Traceback (most recent call last): File "/home/zhangjc/Downloads/pyocr.py", line 7, in <module> print(pytesseract.image_to_string(Image.open("example.png"))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/zhangjc/.pyenv/versions/crawler/lib/python3.13/site-packages/pytesseract/pytesseract.py", line 486, in image_to_string return { ~ ...<2 lines>... Output.STRING: lambda: run_and_get_output(*args), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ }[output_type]() ~~~~~~~~~~~~~~^^ File "/home/zhangjc/.pyenv/versions/crawler/lib/python3.13/site-packages/pytesseract/pytesseract.py", line 489, in <lambda> Output.STRING: lambda: run_and_get_output(*args), ~~~~~~~~~~~~~~~~~~^^^^^^^ File "/home/zhangjc/.pyenv/versions/crawler/lib/python3.13/site-packages/pytesseract/pytesseract.py", line 352, in run_and_get_output run_tesseract(**kwargs) ~~~~~~~~~~~~~^^^^^^^^^^ File "/home/zhangjc/.pyenv/versions/crawler/lib/python3.13/site-packages/pytesseract/pytesseract.py", line 284, in run_tesseract raise TesseractError(proc.returncode, get_errors(error_string)) pytesseract.pytesseract.TesseractError: (1, 'Error opening data file /usr/share/tesseract-ocr/5/tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language \'eng\' Tesseract couldn\'t load any languages! Could not initialize tesseract.')