[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: import error PyQt5.QtWidgets, 32bit Python question
From: Ian Ottoway <ian () ottoway ! dev>
Date: 2020-11-19 13:33:10
Message-ID: 175e0b577be.1280a3a2136470.950182367962461398 () ottoway ! dev
[Download RAW message or body]
This sounds a lot like the issue I had not too long ago, it was a bug in th=
e PyQt packaging that was putting the wrong version of some DLLs in the whe=
el.
It's been a while since then so I assumed it was fixed.=C2=A0
Here is the previous thread:=C2=A0http://python.6.x6.nabble.com/ImportError=
-using-PyQt-5-14-on-32-bit-Windows-7-tt5269397.html#a5269461
---- On Thu, 19 Nov 2020 04:49:05 -0600 V. Armando Sol=C3=A9 <sole@esrf.fr>=
wrote ----
On 18/11/2020 20:55, Elizabeth Johnson
wrote:
I've also tried just installing Python 3.7.4 directly and
pip installing PyQt5 (same error, no success) and then trying
to specifically install the PyQt5 version I mentioned above
(still same error, no success).=C2=A0
For that one it could be as simple as to install the C++ runtime
redistributables:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visua=
l-c-downloads
https://www.visualstudio.com/downloads/.
In any case, for windows
my advice would be to forget about WinPython or anything
similar use python from python.org with pip to install
packages and eventually installing VS2019 community
edition C++ compiler if you need to compile anything
from source.
Best regards,
Armando
[Attachment #3 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta \
content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div \
style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: \
10pt;"><div>This sounds a lot like the issue I had not too long ago, it was a bug in \
the PyQt packaging that was putting the wrong version of some DLLs in the \
wheel.<br></div><div>It's been a while since then so I assumed it was \
fixed. </div><div><br></div><div>Here is the previous thread: <a \
target="_blank" href="http://python.6.x6.nabble.com/ImportError-using-PyQt-5-14-on-32- \
bit-Windows-7-tt5269397.html#a5269461">http://python.6.x6.nabble.com/ImportError-using \
-PyQt-5-14-on-32-bit-Windows-7-tt5269397.html#a5269461</a><br></div><div><br></div><br><div \
data-zbluepencil-ignore="true" id="Zm-_Id_-Sgn"><div><br></div></div><br><div \
style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; \
margin-bottom: 10px; line-height: 0px;" class="zmail_extra_hr"><br></div><div \
style="" data-zbluepencil-ignore="true" class="zmail_extra"><br><div \
id="Zm-_Id_-Sgn1">---- On Thu, 19 Nov 2020 04:49:05 -0600 <b>V. Armando Solé \
<sole@esrf.fr></b> wrote ----<br></div><br><blockquote style="margin: \
0px;"><div><div class="x_1696695812moz-cite-prefix">On 18/11/2020 20:55, Elizabeth \
Johnson
wrote:<br></div><blockquote><div dir="ltr"><br><div>I've also tried just \
installing Python 3.7.4 directly and pip installing PyQt5 (same error, no success) \
and then trying to specifically install the PyQt5 version I mentioned above
(still same error, no \
success). <br></div><div><br></div></div></blockquote><p>For that one it could \
be as simple as to install the C++ runtime redistributables:<br></p><p><a \
class="x_1696695812moz-txt-link-freetext" \
href="https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads" \
target="_blank">https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads</a><br></p><p><span><span><span><span><span \
class=""><a href="https://www.visualstudio.com/downloads/" target="_blank">Microsoft \
Visual C++ Redistributable for Visual Studio 2015, 2017 and
2019</a>.</span></span></span></span></span><br></p><p><span><span><span><span><span \
class="">In any case, for windows my advice would be to forget about WinPython or \
anything similar use python from python.org with pip to install
packages and eventually installing VS2019 community
edition C++ compiler if you need to compile anything
from \
source.</span></span></span></span></span><br></p><p><span><span><span><span><span \
class="">Best regards,</span></span></span></span></span><br></p><p><span><span><span><span><span \
class="">Armando<br></span></span></span></span></span></p><p><span><span><span><span><span \
class=""><br></span></span></span></span></span></p></div></blockquote></div><div><br></div></div><br></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic