> $ python3.6 test.py
> Traceback (most recent call last):
> File "sipx.py", line 1, in <module>
> import PyQt5.QtCore
> ModuleNotFoundError: No module named 'sip'
'sip' should only be required during build.
_USE_PYQT_ALL= core dbus dbussupport demo designer designerplugin \
gui multimedia network opengl qscintilla2 \
sql svg test webkit xml xmlpatterns sip <=
Confirmed that `import PyQt5.QtCore` (still) fails like this when sip is not installed. I'm not sure, though, that sip is (or should, or could be) optional: it looks like the .so itself tries to load a sip module.
A commit references this bug:
Date: Wed Jan 2 16:00:00 UTC 2019
New revision: 489087
Fix RUN_DEPENDS for devel/py-qt5-core.
The devel/py-sip port includes the sip module code that is
needed at runtime ( starting with PyQt 5.11, it seems .. some
details http://pyqt.sourceforge.net/Docs/PyQt5/installation.html )
Reported by: yuri