-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't run script #18
Comments
Hello, Syntax error may come from a wrong python version, can you send |
Hello, |
you need python3 to run the script. |
Same error:
|
which version of python3 do you have? |
Python 3.5.3. I do not use docker, because the raspberry does not have enough performance. The containers stop after a while. |
ok, then you need to upgrade to python 3.6 or higher... |
Ok, thank you |
Hi,
The last update does not run the script.
~/xiaomi_mi_scale/src $ python3 Xiaomi_Scale.py File "Xiaomi_Scale.py", line 146 sys.stdout.write(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - Publishing data to topic {MQTT_PREFIX + '/' + user + '/weight'}: {message}\n") ^ SyntaxError: invalid syntax
My environment:
raspberry pi 2
bluetooth stick
The text was updated successfully, but these errors were encountered: