Raspberry Pi Install?

64 views
Skip to first unread message

James Kicklighter

unread,
Mar 25, 2019, 3:38:02 PM3/25/19
to sucks-users
Hi!

I'm trying to launch Sucks & Bumper, but keep running into this.

I'm on Hassbian, the Raspberry Pi version for Home Assistant. I'm very new to manual programming, so let me know if it's something dumb I am doing.

All the requisite packages should be installed.

pi@hassbian:~/sucks $ sucks login
Traceback (most recent call last):
File "/usr/local/bin/sucks", line 6, in <module>
from sucks.cli import cli
File "/usr/local/lib/python2.7/dist-packages/sucks/__init__.py", line 360
def is_charging(self) -> bool:
^
SyntaxError: invalid syntax

Brian Martin

unread,
Mar 25, 2019, 10:19:12 PM3/25/19
to sucks-users
Hi James,

It looks like you are running into an issue because you are using Python 2.  You'll need to get Python 3 or if you already have it just run sucks with python 3.
Reply all
Reply to author
Forward
0 new messages