Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need dependency for apol [ImportError: No module named PyQt5.QtWidgets] #111

Open
freedom1b2830 opened this issue Dec 15, 2022 · 1 comment

Comments

@freedom1b2830
Copy link

python2   /etc/selinux/refpolicy-freedom1b2830/policy/policy.33
  File "/etc/selinux/refpolicy-freedom1b2830/policy/policy.33", line 1
SyntaxError: Non-ASCII character '\x8c' in file /etc/selinux/refpolicy-freedom1b2830/policy/policy.33 on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
[root@archlinux freedom1b2830_FORK]# python2 /usr/bin/apol   /etc/selinux/refpolicy-freedom1b2830/policy/policy.33
Traceback (most recent call last):
  File "/usr/bin/apol", line 24, in <module>
    from PyQt5.QtWidgets import QApplication
ImportError: No module named PyQt5.QtWidgets

need python2-pyqt5
for
pacman -F apol

selinux/setools 4.4.0-2 (selinux) [установлен]
    usr/bin/apol
@freedom1b2830
Copy link
Author

#apol

Traceback (most recent call last):
  File "/usr/bin/apol", line 11, in <module>
    from PyQt5.QtWidgets import QApplication
ModuleNotFoundError: No module named 'PyQt5'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant