tesseract myimg.png output --oem 0 gives the following error:
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.
To use --oem 0 without errors
I suspect that tesseract isn't able to find languages, however tesseract --list-langs prints eng and osd.
This is the path to my tessdata folder.
/usr/share/tesseract-ocr/4.00/tessdata
There is a simple answer to your question: don't use advanced options like --oem 0 unless you are an advanced user. Please use the user forum for questions.
The right answer is that eng exists, but does not support --oem 0, so Tesseract refuses to use it.
This problem is reported here very often. Maybe you want to provide a patch for Tesseract to give a better error message?