Skip to content
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

Tesseract/packaging bug #402

Open
alr3x opened this issue May 19, 2024 · 1 comment
Open

Tesseract/packaging bug #402

alr3x opened this issue May 19, 2024 · 1 comment

Comments

@alr3x
Copy link

alr3x commented May 19, 2024

[05/17 11:08:56] ERROR | You need to install pytesseract (the wrapper: pip install pytesseract) in order to use OCR feature.

but if I use this command, I get the following in response:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
uiautomator2 2.16.14 requires packaging~=20.3, but you have packaging 24.0 which is incompatible.
gramaddict 3.2.12 requires packaging~=20.9, but you have packaging 24.0 which is incompatible.

and the bot stops working the next time it starts up. Arch Linux.

@Hex-Jr
Copy link

Hex-Jr commented Sep 12, 2024

You must have had outdated PIP which did not have a dependency resolver :)

You can go around it, by upgrading it:
pip install --upgrade pip

and then by reinstalling pytesseact with correct dependencies
pip uninstall pytesseract
pip install pytesseract

This at least solved one issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants