Search code examples
pythondebianpytesser

How to install pytesser on Debian?


I want to use image_to_string in my python script for reading numbers from image. i import everything from pytesser from pytesser import *

i read this question and

i installed pytesseract

 pip install pytesseract

and tesseract-ocr

apt-get install tesseract-ocr

but i have already this error!

ImportError: No module named pytesser

What's wrong with my installation?


Solution

  • Did you try adjusting the import statement from

    from pytesser import *
    

    to

    from pytesseract import *