[PyQt] PyQt5 and py2exe

Jérôme Godbout jerome at bodycad.com
Mon Nov 30 22:34:07 GMT 2015


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érôme Godbout <jerome at bodycad.com> 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). 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.
>
> Thanks,
> Jerome
>
>
> On Mon, Nov 30, 2015 at 3:11 PM, Miguel Alejandro Fernandez <
> alejandrogroso at 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 at bodycad.com
>> To: alejandrogroso at 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 at 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 at bodycad.com
>> To: pyqt at 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 this
>> 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) initialization
>> 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 into
>> 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 at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151130/c65d52cf/attachment.html>


More information about the PyQt mailing list