Just in case anyone finds it helpful in the future, I had to run "apt-get install dbus". I am no expert, but my application ran normally afterwards. For a bit more context, I was using the base python image from Docker.