Python SerialException: Device reports readiness to read but returned no data (device disconnected?) Fix: Use this command: sudo systemctl stop serial-getty@USB0.service