Closed syncreer closed 2 years ago
Hi, please ensure that you're using the correct versions of opencv and imagesearch. If you check believe you are, make sure that you don't somehow have multiple Python installations, Python modules, etc.
This error is caused by having the incorrect version of one of those!
so im on linux and ive setup everything correctly and every time i run the bot it queues up but right after that it gets an error saying this Bot started, queuing up! Traceback (most recent call last): File "tft.py", line 205, in
queue()
File "tft.py", line 65, in queue
while not onscreen("./captures/loading.png"):
File "tft.py", line 22, in onscreen
return search(path, precision)[0] != -1
File "/home/azajalal/.local/lib/python3.8/site-packages/python_imagesearch/imagesearch.py", line 122, in imagesearch
template.shape[::-1]
AttributeError: 'NoneType' object has no attribute 'shape'