jfd02 / TFT-OCR-BOT

A bot that plays Teamfight Tactics using OCR. Keeps track of bench, board, items, and plays the user defined team comp.
GNU General Public License v3.0
328 stars 91 forks source link

No module named 'Tesserocr' #310

Closed Frostiew closed 3 months ago

Frostiew commented 3 months ago

Hi, I already install the tesserocr but i cant run main.py :< Idk how to fix this, can u help me

C:\Windows\System32>"C:\Users\ADMIN\Desktop\TFT-OCR-BOT-main\main.py" Traceback (most recent call last): File "C:\Users\ADMIN\Desktop\TFT-OCR-BOT-main\main.py", line 8, in from game import Game File "C:\Users\ADMIN\Desktop\TFT-OCR-BOT-main\game.py", line 11, in import arena_functions File "C:\Users\ADMIN\Desktop\TFT-OCR-BOT-main\arena_functions.py", line 11, in import ocr File "C:\Users\ADMIN\Desktop\TFT-OCR-BOT-main\ocr.py", line 9, in from tesserocr import PyTessBaseAPI ModuleNotFoundError: No module named 'tesserocr'

anthony5301 commented 3 months ago

tesseract and tesserocr are different things. look installation carefully

Frostiew commented 3 months ago

Hii, i downloaded both of them but i still cant run the program :<<

image

anthony5301 commented 3 months ago

uninstall the python that you downloaded from microsoft store, get a new one from python official website

https://www.python.org/downloads/release/python-3114/