Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   exe made by py2exe do not run certain computer (http://www.velocityreviews.com/forums/t947759-exe-made-by-py2exe-do-not-run-certain-computer.html)

self.python 07-03-2012 11:12 PM

exe made by py2exe do not run certain computer
 
http://makeitmine.tistory.com/attach...C587070EF7.zip

it's a kind of site viewer program and I made it the EXE file using py2exe

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?

is there something difference about windows?

I want to distribute my application who don't have Python:(

Miki Tebeka 07-03-2012 11:46 PM

Re: exe made by py2exe do not run certain computer
 
> 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.

Mark Hammond 07-04-2012 01:23 AM

Re: exe made by py2exe do not run certain computer
 
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




All times are GMT. The time now is 09:30 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57