Fwd: Why does 'import PyQt5.QtCore` require py-sip in runtime?

Yuri yuri at freebsd.org
Mon Jan 8 20:15:18 UTC 2018


Hi kde@,


This looks like a bug to me.

I posted it to the python@ ML, since this is found in Python.


Yuri



-------- Forwarded Message --------
Subject: 	Why does 'import PyQt5.QtCore` require py-sip in runtime?
Date: 	Mon, 8 Jan 2018 11:29:22 -0800
From: 	Yuri <yuri at rawbw.com>
To: 	freebsd-python at freebsd.org



This import fails in python36 w/out py36-sip installed:

Traceback (most recent call last):
    File "x.py", line 5, in <module>
      import PyQt5.QtCore
ModuleNotFoundError: No module named 'sip'


py-sip description red like it should be required in the runtime.

But if it is always required for PyQt5.QtCore, why isn't it
automatically included then?


Yuri


_______________________________________________
freebsd-python at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscribe at freebsd.org"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20180108/5e00f9c2/attachment.html>


More information about the kde-freebsd mailing list