[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Fwd: Poetry (and some versions of Pip) fail to install PyQt5-sip when installing PyQt5.11 fro
From:       jimbo1qaz <jimbo1qaz () gmail ! com>
Date:       2018-12-20 23:33:03
Message-ID: CAEb09RPJZmfguXSgQZPhqL8kxG-gfTN_x-O-A6FxqLyLB2AbsA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Did my first email attempt get rejected because I wasn't subscribed?

When installing PyQt5 5.11.3 via Poetry, I get an error when running Python
and importing QtCore or QtGui:

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

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.

The developer of Poetry diagnosed this issue:

https://github.com/sdispater/poetry/issues/314

> Basically the wheels for pyqt5 specify metadata in version 1.1 but their
> dependencies are declared using Requires-Dist which is only valid for the
> metadata specification 1.2+ this is why Poetry doesn't pick up pyqt5-sip.
>

Will this packaging issue be resolved at some point?

[Attachment #5 (text/html)]

<div dir="ltr"><div>Did my first email attempt get rejected because I wasn&#39;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">&gt;&gt;&gt; from PyQt5 import \
QtCore<br>Traceback (most recent call last):<br>   File &quot;&lt;stdin&gt;&quot;, \
line 1, in &lt;module&gt;<br>ModuleNotFoundError: No module named \
&#39;PyQt5.sip&#39;<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&#39;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>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic