I am trying to use the following snippet to re-connect to the wifi:
I am using the
balenalib/raspberrypi3-python:3.8-buster-20200518 image and I am installing the python dbus module through
python3-dbus package. It seems though that it requires Python 3.7 as it installs
python3.7-minimal and when trying to import
dbus in python I am getting
ModuleNotFoundError: No module named '_dbus_bindings' error.
Has anyone managed to use python3-dbus in Python 3.8+?
Any thoughts would be appreciated.
PS: everything works as expected in Python 3.7.