Hi all!
I hope I'm coming to the right place. I know nothing about programming, apart from some basic CSS/HTML. But I'm interested in using this Python script on my Mac called WeatherDesk, that changes the wallpaper based on the current time/weather: https://gitlab.com/bharadwaj-raju/WeatherDesk . I'd like to configure it and have it run automatically each time I start my machine.
Unfortunately I can't get it to run without throwing up an error. I've downloaded the new version of Python (3.6.5) and I'm trying to run the script (moved to a folder in my Applications directory) with the following code in Terminal:
The output is:
I'm very keen on getting this working as I spent last night painstakingly searching out and editing different wallpapers. But I don't know the first thing about even executing a Python script, much less configuring this one properly. But it looks fairly basic. Is it possible someone who knows far more about this than I could give me a bit of help?
In return I could share some of the cool wallpapers I found!
I hope I'm coming to the right place. I know nothing about programming, apart from some basic CSS/HTML. But I'm interested in using this Python script on my Mac called WeatherDesk, that changes the wallpaper based on the current time/weather: https://gitlab.com/bharadwaj-raju/WeatherDesk . I'd like to configure it and have it run automatically each time I start my machine.
Unfortunately I can't get it to run without throwing up an error. I've downloaded the new version of Python (3.6.5) and I'm trying to run the script (moved to a folder in my Applications directory) with the following code in Terminal:
cd '' && '/usr/bin/pythonw' '/Applications/WeatherDesk/WeatherDesk.py' && echo Exit status: $? && exit 1
The output is:
Traceback (most recent call last):
File "/Applications/WeatherDesk/WeatherDesk.py", line 30, in <module>
import urllib.error
ImportError: No module named error
File "/Applications/WeatherDesk/WeatherDesk.py", line 30, in <module>
import urllib.error
ImportError: No module named error
I'm very keen on getting this working as I spent last night painstakingly searching out and editing different wallpapers. But I don't know the first thing about even executing a Python script, much less configuring this one properly. But it looks fairly basic. Is it possible someone who knows far more about this than I could give me a bit of help?
In return I could share some of the cool wallpapers I found!
Last edited: