Search code examples
pythontesseractpython-tesseract

Installing python-tesseract on Ubuntu 15.x


I am having problems installing python-tesseract on Ubuntu systems.
I've tried with several versions of Ubuntu systems of 32 bits from 14.04 onwards and I got nothing. I downloaded python-tesseract_0.9-0.5ubuntu2_i386.deb and tried to install it but dependency problems show up, and after installing the needed packages, these problems does not disappear.

How can I install python-tesseract on Ubuntu 14.04 or 15.10? Thanks

Edit: I am developing an optical character recognition application on python, and I need to access to the lot of functions that tesseract TessBaseAPI gives. I found several wrappers of tesseract for python, but python-tesseract (I have understood that is not the same that pytesseract) is the only one that allows access to all functions, and not only to a few. I downloaded a python-tesseract.deb file, but the problems described above arise.


Solution

  • It works installing gdebi-core first, and afterwards installing the .deb package with it, so that gdebi install dependencies for me. I used Ubuntu 14.04.

     sudo apt-get install gdebi-core
     sudo gdebi python-tesseract_0.9-0.5ubuntu2_i386.deb