Skip to content

Instantly share code, notes, and snippets.

@Costava
Created April 25, 2021 06:29
Show Gist options
  • Save Costava/af19ee6c5ce3ed3dd63e3dcdfe0f7748 to your computer and use it in GitHub Desktop.
Save Costava/af19ee6c5ce3ed3dd63e3dcdfe0f7748 to your computer and use it in GitHub Desktop.

aa-notify python-notify2 issue

Info on aa-notify: https://man.archlinux.org/man/aa-notify.8.en

Problem

Run aa-notify --help and get error:

Traceback (most recent call last):
  File "/usr/bin/aa-notify", line 38, in <module>
    import notify2
ModuleNotFoundError: No module named 'notify2'

Fix

$ sudo pamac install python-notify2

Now, running aa-notify --help causes the usage and arguments to print as expected.

System

  • Manjaro 21.0
  • apparmor version 3.0.1-1
  • python-notify2 version 0.3.1-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment