MQTT is the protocol that the Smart Doorbell application uses to communicate to the outside world. For this, we require the paho-mqtt library.
To install this library, do the following:
- In Thonny, click on Tools | Manage packages....
- Type in paho-mqtt in the search box and click on the Find package from PyPI button.
- Click on the ... box next to the Install button at the bottom of the screen:

- Check the Upgrade dependencies checkbox and click on the Install button below the checkbox.
- Verify that you are able to successfully install the paho-mqtt library before moving on to the next step.
Personally, I have found that some libraries ...