I got an error when I compiled code blow:
import tessercat
api = tesseract.TessBaseAPI()
The error is:
AttributeError:'module' object has no attribute 'TessBaseAPI'
I have already installed tesseract via pip. The Python version is 2.7 Windows 32bit.
Make sure that you don't need to import a sublcass ie
from tesseract import XYZAlso - not sure if this was a typo but your import module is misspelled.