<div dir="ltr"><div>Did my first email attempt get rejected because I wasn't subscribed?</div><div><br></div>When installing PyQt5
5.11.3
via Poetry, I get an error when running Python and importing QtCore or QtGui:<br><div><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">>>> from PyQt5 import QtCore<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ModuleNotFoundError: No module named 'PyQt5.sip'<br></div><div dir="ltr"><br></div><div dir="ltr">
I also experienced the same error when running `pip install .` (executes
setup.py) on Appveyor. Maybe some versions of Pip/setuptools experience
the same issue. <br></div><div dir="ltr"><br></div><div>The developer of Poetry diagnosed this issue:<br></div><div><br></div><div dir="ltr"><a href="https://github.com/sdispater/poetry/issues/314" target="_blank">https://github.com/sdispater/poetry/issues/314</a></div><div dir="ltr"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Basically the wheels for <code>pyqt5</code> specify metadata in version <code>1.1</code> but their dependencies are declared using <code>Requires-Dist</code> which is only valid for the metadata specification 1.2+ this is why Poetry doesn't pick up <code>pyqt5-sip</code>.</div></blockquote><div><br></div><div>Will this packaging issue be resolved at some point?<br></div></div></div></div>
</div></div></div>