<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Now I am asking the same question as the OP. I built Python-3.8.4, sip-5.2.0, and PyQt5-5.14.2 on macOS and got the same error.<div class=""><br class=""></div><div class="">I built sip with “python setup.py install”</div><div class=""><br class=""></div><div class="">turin:vendor patrick$ python -c "import PyQt5.QtGui"<br class="">Traceback (most recent call last):<br class="">  File "<string>", line 1, in <module><br class="">ModuleNotFoundError: No module named 'PyQt5.sip'</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">-Patrick<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 27, 2020, at 1:33 PM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On 27/04/2020 22:19, Gabriele Bulfon wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Great Phil, that's where I pulled sources for both of them.<br class="">I have built and packaged PyQt5-sip and PyQt5 from those sources,<br class="">after building and packaging sip5 and PyQt-builder.<br class=""> <br class="">Maybe there's something wrong in what I'm delivering to the system<br class="">with PyQt5-sip?<br class="">Here's a brief of the files delivered by my package, as in the package<br class="">definition file (pkg, solaris).<br class="">I derived this from the prototype area generated by the build/install<br class="">on the prototype install root.<br class="">I bet something is wrong with the sip.cpython-35m.so file...I still<br class="">don't understand how these cpython so files are looked up, but that is<br class="">what the build system created in the prototype area.<br class=""> <br class="">dir path=usr<br class="">dir path=usr/lib<br class="">dir path=usr/lib/python$(PYVER)<br class="">dir path=usr/lib/python$(PYVER)/vendor-packages<br class="">dir path=usr/lib/python$(PYVER)/vendor-packages/PyQt5<br class="">dir<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info<br class="">file usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/PKG-INFO<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/SOURCES.txt<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/dependency_links.txt<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/top_level.txt<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">I would expect to see .dist-info rather than .egg-info. Maybe your setuptools is too old.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Phil</span></div></blockquote></div><br class=""></div></body></html>