<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">I mean when the option you passed to sip’s configure.py when building sip.</div><div dir="ltr"><br><blockquote type="cite">On Apr 27, 2020, at 7:34 AM, Gabriele Bulfon <gbulfon@sonicle.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><header></header><div style="font-family: Tahoma; font-size: 14px; color: #000000;">Hello,</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">do you mean something like this?<br><br>/usr/bin/sip-build --no-make --sip-module PyQt5.sip --qmake /usr/lib/qt/5.14/bin/amd64/qmake --confirm-license</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Thanks!<br>Gabriele<br><br>
<div id="wt-mailcard">
<div> </div>
<div> </div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Quantum Mechanics : </strong><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
<br><hr><br><br><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><strong>Da:</strong> Patrick Stinson <patrickkidd@gmail.com><br><strong>A:</strong> Gabriele Bulfon <gbulfon@sonicle.com><br><strong>Cc:</strong> pyqt@riverbankcomputing.com<br><strong>Data:</strong> 27 aprile 2020 17.19.48 CEST<br><strong>Oggetto:</strong> Re: ImportError: No module named 'PyQt5.sip'<br></span><br><br>
<blockquote style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;">
<div dir="ltr">Did you build sip with “—sip-module PyQt5.sip”?</div>
<div dir="ltr"><br>
<blockquote>On Apr 26, 2020, at 11:45 PM, Gabriele Bulfon <gbulfon@sonicle.com> wrote:<br><br></blockquote>
</div>
<blockquote>
<div dir="ltr"><header></header>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Hello,</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">I've built and packaged from sources PyQt5 for our XStreamOS/illumos distro.</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Your package is a requirement for LightDM web-greeter.</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">After building and installing all the packages, trying to run web-greeter I receive this errors:</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">XStreamOS Chandra (powered by illumos) SunOS 5.11 March 2020<br>gbulfon@xstreamos:~$ web-greeter<br>Traceback (most recent call last):<br> File "/usr/lib/python3.5/vendor-packages/whither/toolkits/bootstrap.py", line 31, in <module><br> from .qt.window import QtWindow as Window<br> File "/usr/lib/python3.5/vendor-packages/whither/toolkits/qt/window.py", line 34, in <module><br> from PyQt5.QtWidgets import (<br>ImportError: No module named 'PyQt5.sip'<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br> File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main<br> "__main__", mod_spec)<br> File "/usr/lib/python3.5/runpy.py", line 85, in _run_code<br> exec(code, run_globals)<br> File "/usr/bin/web-greeter/__main__.py", line 37, in <module><br> File "/usr/lib/python3.5/vendor-packages/whither/app.py", line 33, in <module><br> from .toolkits.bootstrap import Application, Window, WebContainer<br> File "/usr/lib/python3.5/vendor-packages/whither/toolkits/bootstrap.py", line 38, in <module><br> from .gtk.window import GtkWindow as Window<br> File "/usr/lib/python3.5/vendor-packages/whither/toolkits/gtk/window.py", line 34, in <module><br> gi.require_versions({'Gtk': '3.0', 'Gdk': '3.0'})<br>AttributeError: module 'gi' has no attribute 'require_versions'</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">I also have built and installed pyqt5-sip 12.7.2.</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Any idea what's missing?<br>Or, where should I look for missing stuff? What is it looking for?</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Thanks,</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Gabriele<br><br>
<div id="wt-mailcard">
<div> </div>
<div> </div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Quantum Mechanics : </strong><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div></div></blockquote></body></html>