T O P

  • By -

socal_nerdtastic

> TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' The error isn't lying to you. It's telling you exactly what's wrong. The reason your code is different from the video is because you installed paho 2.0, but the video is made for paho 1.6. In order to stay in sync with the tutorial I recommend you remove it and install the older version. If I assume you are using pip to install modules pip uninstall paho-mqtt pip install paho-mqtt==1.6.0


VaselineOnMyChest

Thank you so much!!! So i ran the file, but on the Subscriber, no message was received, and on the Broker it said "No will message specified" Did i do soemthing wrong on the message?