Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
py2exe failed to compiled
#4
(Feb-27-2019, 03:44 PM)gahhon Wrote: But if convert to .exe by using pyinstaller, the client computers are not able to execute the .exe files due to their computers have no Python installed.
That's why I am consider to using the py2exe.
Then you doing something wrong,like not aware that stuff can be outside(Python) link to OS that's need to be included.

Follow all in this post.
So if move power.exe to Pc without Python then it will work.
power.py is simple file with no external dependencies.

Look at Sound-player standalone,
see that i take step to include external OS dependencies AVbin avbin.dll(windows) and libavbin.so.10(Linux).
If i do not do this,it's not a standalone solution.
See also that i start with virtual environment,to have isolation from OS in first place before start troubleshoot.

Have to understand that there never will be one easy solution for doing building stuff like this.
py2exe had of course the same problem,if there where external dependencies.
Reply


Messages In This Thread
py2exe failed to compiled - by gahhon - Feb-27-2019, 12:44 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 01:28 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 03:44 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 04:47 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 05:45 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 06:05 PM
RE: py2exe failed to compiled - by gahhon - Feb-27-2019, 07:07 PM
RE: py2exe failed to compiled - by snippsat - Feb-27-2019, 08:49 PM
RE: py2exe failed to compiled - by gahhon - Feb-28-2019, 10:26 AM
RE: py2exe failed to compiled - by gahhon - Mar-04-2019, 03:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Executable file compiled by PyInstaller does not work on Windows 7 amusaber 1 2,222 Jul-11-2024, 02:59 PM
Last Post: DeaD_EyE
  [split] Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info sarahroxon7 1 1,545 Apr-20-2022, 08:02 AM
Last Post: VadimCr
  Py2exe and pycryptodome reks2004 5 5,967 Dec-16-2020, 06:42 PM
Last Post: reks2004
  I need my compiled Python Mac app to accept a file as a parameter Oethen 2 3,485 May-10-2020, 05:57 PM
Last Post: Oethen
  compiled cpython output wrong version bigrockcrasher 0 2,009 Feb-25-2020, 06:31 PM
Last Post: bigrockcrasher
  Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info Rickus 2 4,986 Feb-18-2020, 03:09 PM
Last Post: Rickus
  Hello Im looking for a compiled window version of 3.4.x ... SlowMotion 2 2,909 Feb-12-2019, 08:13 PM
Last Post: SlowMotion
  What are ways of pointing cross-compiled origin source line for python? wyvogew 2 3,672 Feb-02-2019, 03:16 PM
Last Post: wyvogew
  py2exe keegan_010 4 5,970 Aug-22-2018, 07:58 AM
Last Post: buran
  How would I combine multiple .py files into one .exe with Py2Exe shlomi27 0 4,143 Aug-20-2018, 10:27 AM
Last Post: shlomi27

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020