<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi kde@,</p>
<p><br>
</p>
<p>This looks like a bug to me.</p>
<p>I posted it to the python@ ML, since this is found in Python.<br>
</p>
<p><br>
</p>
<p>Yuri</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th nowrap="nowrap" align="RIGHT" valign="BASELINE">Subject:
</th>
<td>Why does 'import PyQt5.QtCore` require py-sip in
runtime?</td>
</tr>
<tr>
<th nowrap="nowrap" align="RIGHT" valign="BASELINE">Date: </th>
<td>Mon, 8 Jan 2018 11:29:22 -0800</td>
</tr>
<tr>
<th nowrap="nowrap" align="RIGHT" valign="BASELINE">From: </th>
<td>Yuri <a class="moz-txt-link-rfc2396E" href="mailto:yuri@rawbw.com"><yuri@rawbw.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" align="RIGHT" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:freebsd-python@freebsd.org">freebsd-python@freebsd.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:freebsd-python@freebsd.org">freebsd-python@freebsd.org</a> mailing list
<a class="moz-txt-link-freetext" href="https://lists.freebsd.org/mailman/listinfo/freebsd-python">https://lists.freebsd.org/mailman/listinfo/freebsd-python</a>
To unsubscribe, send any mail to <a class="moz-txt-link-rfc2396E" href="mailto:freebsd-python-unsubscribe@freebsd.org">"freebsd-python-unsubscribe@freebsd.org"</a>
</pre>
</div>
</body>
</html>