已安装python3.6 安装MQTT客户端库 选择python中使用较多的MQTT客户端库:paho-mqtt #pip安装Paho MQTT客户端库 pip3 install -i https://pypi.doubanio.com/simple paho-mqtt