Page MenuHomeSolus

ModuleNotFoundError: No module named 'apparmor'
Closed, DuplicatePublic

Description

Running aa-complain or aa-disable leads to this result:

Traceback (most recent call last):
  File "/usr/sbin/aa-complain", line 17, in <module>
    import apparmor.tools
ModuleNotFoundError: No module named 'apparmor'

So there's no apparmor module for Python. Is this intended?

Sorry, I couldn't find the original bug report with my initial keywords.