You should install the latest version of CircuitPython for your device as well as the newest versions of the libraries which will be used.
The topics covered in this guide apply to many different devices. Follow the instructions here to get the newest version of for your device. Find the latest version for your device at circuitpython.org/downloads.
Next you'll need to install the required libraries. Download the latest library bundle and then copy them into the lib folder on your device. This guide will be focusing on these two:
You may have other libraries present on your device, but you must have at least these two.