New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No package 'tesseract' found #17
Comments
You seem to have In the mean time, if you wish to quickly solve this, comment out line 59 in the setup.py script and run the setup with your |
Thanks for helping me debugging. $ python setup.py build_ext -I/usr/lib/ |
I've pushed a fix to branch bugfix. Try installing it: https://github.com/sirfz/tesserocr/tree/bugfix |
Hey @farscape2012, did you get to try the suggested fix? If yes please let me know if it's working for you so I can merge it. |
Just tried the bugfix branch
so it ignored the error but then failed on actually trying to find those libs |
@audiolion the setup script tries to use the Have you tried manually passing the necessary flags as suggested in the README? CPPFLAGS=-I/usr/local/include pip install tesserocr |
yes that was with the flags passed, I am on MAC osx and you said you didn't test or guarantee anything, just wanted to pass on my results as the previous participant didn't follow up |
The bugfix is related to the handling of Make sure |
I have solved it installing next: apt install tesseract-ocr* liblept5 leptonica-progs libleptonica-dev |
I ran into the same problem today on Ubuntu 22.04 and after running |
I tried to install tesserocr in Ubuntu. I got following error. I have installed tesseract already. I donot know why it can not find.
Can someone help me out ?
The text was updated successfully, but these errors were encountered: