environment variables issues

69 views
Skip to first unread message

Fish Money

unread,
Sep 24, 2022, 2:40:02 PM9/24/22
to tesseract-ocr
My TESSDATA_PREFIX is set to C:\tesseract-ocr\tessdata, but keep getting the error in text below.
However, It still works after I created tessdatatessdata folder.
Also I need to explicitly mention  the path to batch.nochop & makebox and for other config files as well

 C:\tesseract-ocr\tessdata\tessconfigs\batch.nochop C:\tesseract-ocr\tessdata\configs\makebox

How can I fix it?

Error opening data file C:\tesseract-ocr\tessdatatessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.

Zdenko Podobny

unread,
Sep 26, 2022, 12:34:53 PM9/26/22
to tesser...@googlegroups.com
You did not write which version of tesseract you used. 
Based on your previous posts: What about little testing and thinking by yourself before posting on the forum? e.g. setting the variable to  C:\tesseract-ocr\ or  C:\tesseract-ocr\tessdata\ ?

Zdenko


so 24. 9. 2022 o 20:40 Fish Money <fishmo...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/0ee1e558-c867-47d0-a68d-3465e2051dd4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages