As Tom mentioned - you did not provided enough information.
As far as I know  python-tesseract works with 3.01, but it does not work
with (unreleased) tesseract 3.02.

Zdenko

On Wed, Mar 7, 2012 at 8:27 PM, Ivan Mushketik <[email protected]>wrote:

> Hello.
>
> I want to install python-tesseract. To do it I've downloaded
> python-tesseract and done the following commands:
> cd python-tesseract
> cd python-tesseract-0.7
> python config.py
> python setup.py build
>
> and then I received the following output:
> include path=/usr/include
> Current Version : 0.7
> running build
> running build_py
> running build_ext
> building '_tesseract' extension
> swigging tesseract.i to tesseract_wrap.cpp
> swig -python -c++ -I/usr/include/tesseract -I/usr/include
> -I/usr/include/leptonica -o tesseract_wrap.cpp tesseract.i
> tesseract.i:11: Error: Unable to find 'publictypes.h'
> tesseract.i:12: Error: Unable to find 'thresholder.h'
> tesseract.i:13: Error: Unable to find 'baseapi.h'
> error: command 'swig' failed with exit status 1
>
> I installed tesseract-ocr and required libs according to this manual:
> http://ubuntuforums.org/showthread.php?t=1647350 .
>
> What am I doing wrong?
>
> Thank you in advance.
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to