MMM-fitbit icon indicating copy to clipboard operation
MMM-fitbit copied to clipboard

Error when running setupAccess.py

Open PeterHickson opened this issue 2 years ago • 0 comments

When running the command "sudo python setupAccess.py", I get this error:

Traceback (most recent call last): File "/home/pi/MagicMirror/modules/MMM-fitbit/python/setupAccess.py", line 4, in import cherrypy File "/usr/local/lib/python3.9/dist-packages/cherrypy/init.py", line 64, in from cherrypy._cperror import HTTPError, HTTPRedirect, InternalRedirect File "/usr/local/lib/python3.9/dist-packages/cherrypy/_cperror.py", line 118, in from cgi import escape as _escape ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.9/cgi.py)

I am on python version 3.9.2 which may be part of the problem but am not sure how to roll it back to an older version for the sake of this module without breaking anything else on my raspberry pi.

PeterHickson avatar Feb 25 '23 22:02 PeterHickson