Closed PencilNotPen closed 2 years ago
Hello, could you try installing the async-cache
module? Did you clone the repo with git or did you just download a zip file?
Try installing async-cache with pip3 install async-cache
Can you confirm that after the PR from @HaltCatchFire it works?
Hi guys, thanks for the replies. I haven't been near my ATV recently to test again.
I downloaded the .zip, didn't clone the repo with git.
I have now installed async-cache, and I think the error is resolved, although as I said, I am not with my ATV so I can only check by running main.py and seeing if it shows my original error or not, I can't actually see if the tool is working overall.
It now errors at:
InvalidCredentialsError: invalid credentials:
But that's a matter for another time probably need to do the YT API credentials section again for that error. At least no mention is made of Async cache.
Perhaps the requirements.txt could be updated to drop async_lru, add async-ttl, and add async-cache?
Thanks for your help!
Traceback (most recent call last): File "/Users/test/Downloads/iSponsorBlockTV-main/main.py", line 5, in
from cache import AsyncTTL
ModuleNotFoundError: No module named 'cache'
Any ideas? I think dependencies are installed correctly from requirements.txt and API key is saved in .json file.
EDIT: requirements.txt still lists async_lru as dependency instead of async-ttl. I installed async-ttl manually with "pip install async-ttl", but I get the same error still. All other dependencies seem to be installed. No idea what the module cache error is. Thanks