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

List:       pykde
Subject:    Re: [PyQt] PyQt5 and py2exe
From:       Jérôme Godbout <jerome () bodycad ! com>
Date:       2015-11-30 22:34:07
Message-ID: CAKmu+e2tgY+Cf=4VqinM2Qv9u8O1HoRFm0Mu6UH4viT4zXti1g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Just a follow-up. After some testing, the Windows 7 build work on Windows 7
and launch on Windows 8.1 but *requests* module seem to fails on 8.1. The
Window 8.1 build work on 8.1 but doesn't even launch on Windows 7 (.dll are
not found, etc).

I'm using the following modules:

   - python-redmine
   - rbtools
   - hglib
   - mercurial
   - requests
   - PyQt5
   - sip


So I guess I will have to maintain 2 version for now. I tried the
PyInstaller, but without case sensitivity under Windows it is a pain for
the Qml scripts.

Jerome


On Mon, Nov 30, 2015 at 4:09 PM, J=C3=A9r=C3=B4me Godbout <jerome@bodycad.c=
om> wrote:

> Hi,
> good to known it should have worked. I'm currently trying to build my
> program on a Windows 7 machine (will let you you known if this work). Hop=
e
> the invert will be true, at least the compatibility mode on future OS
> machine will be possible, cannot run compatible mode 8.1 on Windows 7, bu=
t
> compatible 7 on windows 8.1 should be ok.
>
> Thanks,
> Jerome
>
>
> On Mon, Nov 30, 2015 at 3:11 PM, Miguel Alejandro Fernandez <
> alejandrogroso@hotmail.com> wrote:
>
>> Did you try the compatibility mode to run?
>>
>> also I have not extensively tested in Windows 8.1,
>> to compare files.
>> you leave me perplexed
>> but I can say that shows you mistake because it should work just ...
>>
>> ------------------------------
>> Date: Mon, 30 Nov 2015 14:37:30 -0500
>> Subject: Re: [PyQt] PyQt5 and py2exe
>> From: jerome@bodycad.com
>> To: alejandrogroso@hotmail.com
>>
>>
>> Hi,
>>
>> thanks for the info. Look, good, but my problems come from the fact that
>> if I build it on Windows 8.1 I cannot run the .exe except on Windows 8.1
>> (even 8.0 the applications doesn't run). The generated .exe run on my
>> machine or other 8.1 machine just fine, but not on Windows 7 or Windows =
8.0.
>>
>> Is there an option to generate the application Windows 7+ for example?
>>
>> Thanks,
>> Jerome
>>
>> On Mon, Nov 30, 2015 at 1:06 PM, Miguel Alejandro Fernandez <
>> alejandrogroso@hotmail.com> wrote:
>>
>> Hello 'jerome'..
>> here I send information about it.
>> http://www.mediafire.com/download/4tdp14jhdeh8181/Find.rar (Find.rar)
>>
>> ------------------------------
>> Date: Fri, 27 Nov 2015 16:26:42 -0500
>> From: jerome@bodycad.com
>> To: pyqt@riverbankcomputing.com
>> Subject: [PyQt] PyQt5 and py2exe
>>
>>
>> Hi,
>> I have start using the PyQt5 along with py2exe to deploy my application
>> to other developer. On my machine the generated .exe start without
>> problems. But on other machines the application refuse to start with thi=
s
>> error:
>>
>> Traceback (most recent call last):
>>  File "CodeReviewerMain.py", line 16, in <module>
>>  File "BodycadQmlApplication.pyc", line 5, in <module>
>>  File "PyQt5\QtQuick.pyc", line 12, in <module>
>>  File "PyQt5\QtQuick.pyc", line 10, in __load
>> ImportError: DLL load failed: A dynamic link library (DLL) initializatio=
n
>> routine failed.
>>
>> Look like the QtQuick DLL is not found on other machine but work on mine=
,
>> I don't have anything special inside my PATH environment variable nor I
>> have a machine wide Qt install either. Even if I put the dll directly in=
to
>> the folder, it doesn't work. I'm not sure what is going on.
>>
>> Localy I can run the py2exe  exe properly. We are using those Qt5X.dll
>>
>> Anybody have any info on this or any tips where or what to look for?
>>
>> Thanks,
>> regards,
>> Jerome
>>
>> _______________________________________________ PyQt mailing list
>> PyQt@riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi,</div><div><br></div><div>Just a follow-up. After some \
testing, the Windows 7 build work on Windows 7 and launch on Windows 8.1 but \
<i>requests</i> module seem to fails on 8.1. The Window 8.1 build work on 8.1 but \
doesn&#39;t even launch on Windows 7 (.dll are not found, \
etc).</div><div><br></div><div>I&#39;m using the following \
modules:</div><div><ul><li>python-redmine</li><li>rbtools</li><li>hglib</li><li>mercur \
ial</li><li>requests</li><li>PyQt5</li><li>sip</li></ul></div><div><br></div><div>So \
I guess I will have to maintain 2 version for now. I tried the PyInstaller, but \
without case sensitivity under Windows it is a pain for the Qml \
scripts.</div><div><br></div><div>Jerome</div><div><br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 4:09 PM, \
Jérôme Godbout <span dir="ltr">&lt;<a href="mailto:jerome@bodycad.com" \
target="_blank">jerome@bodycad.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi,<div>good to known it should have worked. \
I&#39;m currently trying to build my program on a Windows 7 machine (will let you you \
known if this work). Hope the invert will be true, at least the compatibility mode on \
future OS machine will be possible, cannot run compatible mode 8.1 on Windows 7, but \
compatible 7 on windows 8.1 should be \
ok.</div><div><br></div><div>Thanks,</div><div>Jerome</div><div><br></div></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">On Mon, Nov 30, 2015 at 3:11 PM, Miguel  Alejandro Fernandez \
<span dir="ltr">&lt;<a href="mailto:alejandrogroso@hotmail.com" \
target="_blank">alejandrogroso@hotmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


<div><div dir="ltr"><span lang="en"><span>Did you try</span> <span>the compatibility \
mode</span> <span>to run</span><span>?<br></span></span><br><span \
lang="en"><span>also</span> <span>I have not</span> <span>extensively tested</span> \
<span>in Windows</span> <span>8.1,</span><br> <span>to</span> <span>compare \
files</span><span>.<br>you leave me perplexed<br></span> <span>but I</span> \
<span>can</span> <span>say that</span> <span>shows you</span> <span>mistake</span> \
<span>because it should</span> <span>work just</span> \
<span>...<br><div><br></div></span></span><div><div><hr>Date: Mon, 30 Nov 2015 \
14:37:30 -0500<br>Subject: Re: [PyQt] PyQt5 and py2exe<br>From: <a \
href="mailto:jerome@bodycad.com" target="_blank">jerome@bodycad.com</a><br>To: <a \
href="mailto:alejandrogroso@hotmail.com" \
target="_blank">alejandrogroso@hotmail.com</a></div><div><div><br><br><div \
dir="ltr">Hi,  <div><br></div><div>thanks for the info. Look, good, but my problems \
come from the fact that if I build it on Windows 8.1 I cannot run the .exe except on \
Windows 8.1 (even 8.0 the applications doesn&#39;t run). The generated .exe run on my \
machine or other 8.1 machine just fine, but not on Windows 7 or Windows \
8.0.<div><br></div><div>Is there an option to generate the application Windows 7+ for \
example?</div><div><br></div><div>Thanks,</div><div>Jerome</div></div></div><div><br><div>On \
Mon, Nov 30, 2015 at 1:06 PM, Miguel  Alejandro Fernandez <span dir="ltr">&lt;<a \
href="mailto:alejandrogroso@hotmail.com" \
target="_blank">alejandrogroso@hotmail.com</a>&gt;</span> wrote:<br><blockquote \
style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello &#39;jerome&#39;..<br><span lang="en"><span>here</span> \
<span>I send</span> <span>information about it.<br><a \
href="http://www.mediafire.com/download/4tdp14jhdeh8181/Find.rar" \
target="_blank">http://www.mediafire.com/download/4tdp14jhdeh8181/Find.rar</a> \
(Find.rar)</span></span><br><br><div><hr>Date: Fri, 27 Nov 2015 16:26:42 \
-0500<br>From: <a href="mailto:jerome@bodycad.com" \
target="_blank">jerome@bodycad.com</a><br>To: <a \
href="mailto:pyqt@riverbankcomputing.com" \
target="_blank">pyqt@riverbankcomputing.com</a><br>Subject: [PyQt] PyQt5 and \
py2exe<div><div><br><br><div dir="ltr">Hi,<div>I have start using the PyQt5 along \
with py2exe to deploy my application to other developer. On my machine the generated \
.exe start without problems. But on other machines the application refuse to start \
with this error:</div><div><br></div><div><div>Traceback (most recent call \
last):</div><div>  File &quot;CodeReviewerMain.py&quot;, line 16, in \
&lt;module&gt;</div><div>  File &quot;BodycadQmlApplication.pyc&quot;, line 5, in \
&lt;module&gt;</div><div>  File &quot;PyQt5\QtQuick.pyc&quot;, line 12, in \
&lt;module&gt;</div><div>  File &quot;PyQt5\QtQuick.pyc&quot;, line 10, in \
__load</div><div>ImportError: DLL load failed: A dynamic link library (DLL) \
initialization routine failed.</div></div><div><br></div><div>Look like the QtQuick \
DLL is not found on other machine but work on mine, I don&#39;t have anything special \
inside my PATH environment variable nor I have a machine wide Qt install either. Even \
if I put the dll directly into the folder, it doesn&#39;t work. I&#39;m not sure what \
is going on.</div><div><br></div><div>Localy I can run the py2exe   exe properly. We \
are using those Qt5X.dll</div><div><br></div><div>Anybody have any info on this or \
any tips where or what to look \
for?</div><div><br></div><div>Thanks,</div><div>regards,</div><div>Jerome</div></div> \
<br></div></div>_______________________________________________ PyQt mailing list    \
<a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div> 		 \
</div></div> </blockquote></div><br></div></div></div></div> 		 	   		  </div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></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