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

List:       pykde
Subject:    Re: [PyQt] =?gbk?q?QtWebEngineProcess=2Eexe_=A8C_Bad_Image=A1=B1?=
From:       "Zhao Lee" <redstone-cold () 163 ! com>
Date:       2020-02-04 7:03:19
Message-ID: 6e7e1bf6.4768.1700f02b2be.Coremail.redstone-cold () 163 ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

After replace vcruntime140.dll and MSVCP140.dll in 
C:\Users\i\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin
with a valid copy from somewhere (like those shipped with \
C:\Users\i\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\shiboken2), I \
successfully run the the QtWebEngineWidgets example https://bpaste.net/MWTA











At 2020-02-02 21:09:48, "Phil Thompson" <phil@riverbankcomputing.com> wrote:
> On 01/02/2020 08:50, Zhao Lee wrote:
> > When fallback to version 5.13.2 of pyqt5 and PyQtWebEngine, the issue
> > is gone, so what's wrong with the latest version ?
> > 
> > ÔÚ 2020-01-31 14:32:28£¬"Zhao Lee" <redstone-cold@163.com> дµÀ£º
> > 
> > When I try to run the QtWebEngineWidgets example
> > https://bpaste.net/MWTA, I got a message dialog with the following
> > information
> > 
> > QtWebEngineProcess.exe ¨C Bad Image¡±
> > 
> > ¡°C:\Users\i\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyQt5\Qt\bin\MSVCP140.dll
> >  is either not designed to run on Windows or it contains an error. Try
> > installing the program again using the original installation media or
> > contact your system administrator or the software vendor for support.¡±
> > 
> > Platform information £º
> > Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32
> > bit (Intel)] on win32--Win7
> 
> It looks like the later 32 bit wheels include 64 bit versions of the 
> MSVC DLLs. I assume that if the correct 32 bit versions are installed 
> elsewhere on a system then these will be picked up and the ones in the 
> wheel would be ignored. That would explain why nobody else has reported 
> the problem and why my release tests didn't register it. I assume that 
> you don't already have the 32 bit versions installed elsewhere.
> 
> Can you try installing them from the Microsoft package...
> 
> https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads
>  
> ...to see if that fixes the problem.
> 
> Phil


[Attachment #5 (text/html)]

<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>After \
replace&nbsp;vcruntime140.dll and&nbsp;MSVCP140.dll \
in&nbsp;</div><div>C:\Users\i\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin</div><div>with \
a valid copy from somewhere (like those shipped with \
C:\Users\i\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\shiboken2),</div><div>I \
successfully run the&nbsp;<span style="font-family: arial; white-space: \
pre-wrap;">the QtWebEngineWidgets example </span><span style="font-family: arial; \
white-space: pre-wrap;">https://bpaste.net/MWTA</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div \
style="position:relative;zoom:1"></div><div \
id="divNeteaseMailCard"></div><div><br></div><pre><br>At 2020-02-02 21:09:48, "Phil \
Thompson" &lt;phil@riverbankcomputing.com&gt; wrote: &gt;On 01/02/2020 08:50, Zhao \
Lee wrote: &gt;&gt; When fallback to version 5.13.2 of pyqt5 and PyQtWebEngine, the \
issue &gt;&gt; is gone, so what's wrong with the latest version ?
&gt;&gt; 
&gt;&gt; ÔÚ 2020-01-31 14:32:28£¬"Zhao Lee" &lt;redstone-cold@163.com&gt; дµÀ£º
&gt;&gt; 
&gt;&gt; When I try to run the QtWebEngineWidgets example
&gt;&gt; https://bpaste.net/MWTA, I got a message dialog with the following
&gt;&gt; information
&gt;&gt; 
&gt;&gt; QtWebEngineProcess.exe ¨C Bad Image¡±
&gt;&gt; 
&gt;&gt; ¡°C:\Users\i\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyQt5\Qt\bin\MSVCP140.dll
 &gt;&gt; is either not designed to run on Windows or it contains an error. Try
&gt;&gt; installing the program again using the original installation media or
&gt;&gt; contact your system administrator or the software vendor for support.¡±
&gt;&gt; 
&gt;&gt; Platform information £º
&gt;&gt; Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32
&gt;&gt; bit (Intel)] on win32--Win7
&gt;
&gt;It looks like the later 32 bit wheels include 64 bit versions of the 
&gt;MSVC DLLs. I assume that if the correct 32 bit versions are installed 
&gt;elsewhere on a system then these will be picked up and the ones in the 
&gt;wheel would be ignored. That would explain why nobody else has reported 
&gt;the problem and why my release tests didn't register it. I assume that 
&gt;you don't already have the 32 bit versions installed elsewhere.
&gt;
&gt;Can you try installing them from the Microsoft package...
&gt;
&gt;https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads
 &gt;
&gt;...to see if that fixes the problem.
&gt;
&gt;Phil
</pre></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>


[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