ImportError: No module named 'PyQt5.sip'

Gabriele Bulfon gbulfon at
Mon Apr 27 08:43:46 BST 2020

I've built and packaged from sources PyQt5 for our XStreamOS/illumos distro.
Your package is a requirement for LightDM web-greeter.
After building and installing all the packages, trying to run web-greeter I receive this errors:
XStreamOS Chandra (powered by illumos) SunOS 5.11 March 2020
gbulfon at xstreamos:~$ web-greeter
Traceback (most recent call last):
File "/usr/lib/python3.5/vendor-packages/whither/toolkits/", line 31, in
from .qt.window import QtWindow as Window
File "/usr/lib/python3.5/vendor-packages/whither/toolkits/qt/", line 34, in
from PyQt5.QtWidgets import (
ImportError: No module named 'PyQt5.sip'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/", line 85, in _run_code
exec(code, run_globals)
File "/usr/bin/web-greeter/", line 37, in
File "/usr/lib/python3.5/vendor-packages/whither/", line 33, in
from .toolkits.bootstrap import Application, Window, WebContainer
File "/usr/lib/python3.5/vendor-packages/whither/toolkits/", line 38, in
from .gtk.window import GtkWindow as Window
File "/usr/lib/python3.5/vendor-packages/whither/toolkits/gtk/", line 34, in
gi.require_versions({'Gtk': '3.0', 'Gdk': '3.0'})
AttributeError: module 'gi' has no attribute 'require_versions'
I also have built and installed pyqt5-sip 12.7.2.
Any idea what's missing?
Or, where should I look for missing stuff? What is it looking for?
Sonicle S.r.l. 
Quantum Mechanics :
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list