From 9cbe00224a51e6f818e2d9bdf3a8a59085507b68 Mon Sep 17 00:00:00 2001 From: Shin'ichiro Kawasaki Date: Sun, 10 Nov 2019 18:42:38 +0900 Subject: [PATCH] README.md: Clarify python version 3.6 as the requirement It was reported that the bluepy-scratch-link does not run on Ubuntu 16.04 which has python version 3.5. The script stopped with an error about f-format string, which was introduce with python 3.6. Even removing f-format string from the script, bluepy-scratch-link still requires python 3.6 because websockets module requires it. Clarify that python version requirement to avoid confusion. Signed-off-by: Shin'ichiro Kawasaki --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e4e14b..a3d8e31 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,10 @@ This is a minimal implementation to support micro:bit. Some of Scratch-link features are not implemented. For example, Bluetooth (non-BLE) devices are not supported. BLE device support other than micro:bit is not confirmed. -Bluepy-scratch-link is for python 3 and do not work for python 2. If your Linux -system has explicit command names python3 and pip3, use them in the instructions -below. +Bluepy-scratch-link requires python version 3.6 and later to use websockets. +If your system has python older than version 3.6, install newer version. If your +Linux system has explicit command names python3 and pip3 for python version 3, +use them in the instructions below. The instructions below was confirmed with elementary OS 5.0 Juno which is based on Ubuntu 18.04 LTS and Arch Linux. Trial with other distros and