bk1285 / rpi_wordclock

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

WordClock wont startup #156

Closed Alphascrypt closed 4 years ago

Alphascrypt commented 4 years ago

Hey guys, i started to build this nice wordclock. I have all things here. I wanted to start the wordclock.py but it ended in an failure message:

sudo python wordclock.py Traceback (most recent call last): File "wordclock.py", line 10, in import wordclock_interfaces.web_interface as wciweb File "/home/pi/rpi_wordclock/wordclock_interfaces/web_interface.py", line 3, in from flask_restplus import Api, Resource, fields File "/usr/local/lib/python2.7/dist-packages/flask_restplus/init.py", line 4, in from . import fields, reqparse, apidoc, inputs, cors File "/usr/local/lib/python2.7/dist-packages/flask_restplus/fields.py", line 17, in from werkzeug import cached_property ImportError: cannot import name cached_property

Its the new Raspbian Buster Lite version.

Did i must use an older version of raspbian?

Greetings Martin

phenze commented 4 years ago

https://github.com/noirbizarre/flask-restplus/issues/777

You can either wait for flask_restplus to get fixed or install flask_restx

Azrael0815 commented 4 years ago

Or you switch to a different "Werkzeug" (0.16.1) version - worked for me https://github.com/noirbizarre/flask-restplus/issues/777

Alphascrypt commented 4 years ago

Worked! Thank you

bk1285 commented 4 years ago

Thank you for the solution, @phenze

... so no action required here, since the issue will be fixed by updated external dependencies.