no attribute 'TessBaseAPI'

1,255 views
Skip to first unread message

Chang Alden

unread,
Oct 2, 2015, 1:57:56 PM10/2/15
to tesseract-ocr
I have python-tesseract-0.9.1-py2.7 installed but I am getting this error.

Traceback (most recent call last):
  File "C:/Python27/Scripts/test.py", line 2, in <module>
    api = tesseract.TessBaseAPI()
AttributeError: 'module' object has no attribute 'TessBaseAPI'

Did the function call get changed? What am I doing wrong?

Tom Morris

unread,
Oct 5, 2015, 12:49:33 PM10/5/15
to tesseract-ocr
You might try pytesseract instead to see if you have better luck:

Tom
Reply all
Reply to author
Forward
0 new messages