4

このエラーが発生しています。何が間違っているのですか?

from gi.repository import Notify
Notify.init("App Name")
Notify.Notification.new("Hi").show()

GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files 

(Raspberry Pi で最新の Raspbian を使用)

4

1 に答える 1

3

これで解決しました::)

sudo apt-get install libnotify-cil-dev
于 2016-03-09T13:45:33.160 に答える