Problem scenario
You have Python 2 and Python 3 installed. When you run Python 3 programs, you get an error message about selinux. The message is consistent with libselinux-python not being installed.
When you enter the Python interpreter for Python 2, you can run this command without errors: import selinux
But when you enter the Python interpreter for Python 3 (e.g., python3), you get errors when you run this command: import selinux
Security of the server is not critical,