PyInstaller-3.3.1: Operational Windows build inconsistent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PyInstaller-3.3.1: Operational Windows build inconsistent

jared sanchez
The PyInstaller Windows executable works on some Windows 10 machines but not all.  I am using the -F or OneFile executable option which I thought meant that the executable contains everything that it needs to run.  I am looking at 2 Windows 10 computers right now, one runs the PyInstaller executable and the other doesn't: I get a " failed to execute script 'x' " error.

Is there a way to find the dependencies for the executable?
Even thought it is an 'executable, does the host machine still need to have the proper version of python installed?

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: PyInstaller-3.3.1: Operational Windows build inconsistent

Elliot Garbus
Here are a few things to consider:
On the two machines, are the executables being run from the same spot?  Is your program making assumptions about files and the current directory? 

If the -F option did not work, you would need the contents of the full build directory on each machine.  

You do not need to install Python on to have the prepared executable run.

On Thursday, February 21, 2019 at 4:48:57 AM UTC-7, jared sanchez wrote:
The PyInstaller Windows executable works on some Windows 10 machines but not all.  I am using the -F or OneFile executable option which I thought meant that the executable contains everything that it needs to run.  I am looking at 2 Windows 10 computers right now, one runs the PyInstaller executable and the other doesn't: I get a " failed to execute script 'x' " error.

Is there a way to find the dependencies for the executable?
Even thought it is an 'executable, does the host machine still need to have the proper version of python installed?

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: PyInstaller-3.3.1: Operational Windows build inconsistent

Stefano Giostra
In reply to this post by jared sanchez
Hi Jared, 
You need to make a compile with -D , in this manner, is more easy see the error.
Good luck 

Il giorno gio 21 feb 2019 alle ore 12:48 jared sanchez <[hidden email]> ha scritto:
The PyInstaller Windows executable works on some Windows 10 machines but not all.  I am using the -F or OneFile executable option which I thought meant that the executable contains everything that it needs to run.  I am looking at 2 Windows 10 computers right now, one runs the PyInstaller executable and the other doesn't: I get a " failed to execute script 'x' " error.

Is there a way to find the dependencies for the executable?
Even thought it is an 'executable, does the host machine still need to have the proper version of python installed?

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.