Closed KarthiSurfer closed 6 months ago
Ah, thanks for notifying about that! You'll need to pip install requests
to install the requests
dependency before running the script for now. Let me also update the code to have a requirements.txt
, pyproject.toml
so pip install .
should suffice in getting all dependencies
I've simplified the project setup and published it to pypi as ai-wallpaper. I'm marking the issue as resolved for now but please feel free to reopen it f you're still stuck.
@debanjum , thank you for your quick response, after running the new command it's not throwing any error but its stuck like this without any progress
Hi @KarthiSurfer, glad to know the dependency requirement is resolved. It's unfortunate that the app still isn't painting the wallpaper for you though!
How long was it stuck in that state? Does the script eventually succeed or fail?
Also can you share the command you're running? Is your KHOJ_API_TOKEN
environment variable set?
Note:
For me that's manageable (though it could be a lot better) as I run it in background but YMMV.
Traceback (most recent call last): File "/data/data/com.termux/files/home/ai-wallpaper/Wallpaper.py", line 26, in
import requests
ModuleNotFoundError: No module named 'requests'