Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24843

Re: exe made by py2exe do not run certain computer

Date 2012-07-04 11:23 +1000
From Mark Hammond <skippy.hammond@gmail.com>
Subject Re: exe made by py2exe do not run certain computer
References <27300d23-adf1-4638-a980-8568e1e74d0d@googlegroups.com> <a80f7982-1777-418e-a165-851fee3a26e3@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1769.1341365029.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 4/07/2012 9:46 AM, Miki Tebeka wrote:
>> It works fine on my computer and some other computer don't have
>> python interpreter(it's Windows 7). But the same file also do not
>> work on another computer(it's Windows xp) why does it happen?
> My *guess* is that you're missing some DLLs (probably some Visual
> Studio runtime ones).
>
> You can run http://www.dependencywalker.com/ on the generated exe and
> see which DLLs it uses. If you do it on the machine with the
> problems, these DLLs will be highlighted.

Another possibility is that py2exe is erroneously picking up *other* 
DLLs from the OS, which you are packaging and installing.  So check your 
distribution for *all* .dll files - most Python extension modules are 
.pyd, so the actual number of .dll files needed should be quite small 
and relatively stable across different py2exe invocations.

Mark

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

exe made by py2exe do not run certain computer "self.python" <howmuchistoday@gmail.com> - 2012-07-03 16:12 -0700
  Re: exe made by py2exe do not run certain computer Miki Tebeka <miki.tebeka@gmail.com> - 2012-07-03 16:46 -0700
    Re: exe made by py2exe do not run certain computer Mark Hammond <skippy.hammond@gmail.com> - 2012-07-04 11:23 +1000

csiph-web