GramAddict / bot

Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
https://docs.gramaddict.org
MIT License
1.13k stars 179 forks source link

Tesseract/packaging bug #402

Open alr3x opened 5 months ago

alr3x commented 5 months ago

[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 commented 1 month ago

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.