bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 105 forks source link

No Module named colored logs #239

Closed basholtman closed 1 year ago

basholtman commented 1 year ago
Schermafbeelding 2023-01-08 om 16 39 39

What's happening here? Installed everything as described in the manual.

FrankX0 commented 1 year ago

The package "coloredlogs" should have been installed with sudo pip3 install -r requirements.txt. You can install seperately: sudo pip3 install coloredlogs Are you running Python3? Can you run the clock with sudo python3 wordclock.py?

basholtman commented 1 year ago

Hi Frank,

thanks for the prompt reply. I’ll try sudo pip3 install -r requirements.txt later today. As it wasn’t in the software installation documentation of Bernd. Did I miss more?

Running python 3.9.2, lite version installed via the raspbian imager.

Build this project already about 4 years ago, can’t remember above step.

FrankX0 commented 1 year ago

Hi Bas. A lot has changed in 4 years ;-) This step is described in the Software setup. Please let me know if you still run into issues.

basholtman commented 1 year ago

I noticed, getting a bit further now. Still not able to run it due to werkzeug error, how do I read underneath error and correct it?

Werkzeug is in the requirements.txt so something went wrong will installing those packages? Also don’t see the rpi_ws218x folder for testing purposes.

Schermafbeelding 2023-01-08 om 19 53 10
FrankX0 commented 1 year ago

Seems related to issue #229 Can you try:

sudo pip3 install flask==2.0.2
sudo pip3 install werkzeug==2.0.2
basholtman commented 1 year ago
Schermafbeelding 2023-01-09 om 19 17 37

Seems to do the trick, Thank you a lot!

1 last thing its an hour to early on the clock it shows 19:10 while its 20:10. City is correct in in the config file.

FrankX0 commented 1 year ago

The time is taken from the Raspberry Pi. So my guess is that that time is incorrect. Can you check that, and if needed, check the timezone in raspi-config?

basholtman commented 1 year ago

Everything works correctly now!