Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python': 0.09; 'erroneously': 0.09; 'happen?': 0.09; 'runtime': 0.09; 'cc:addr :python-list': 0.10; 'subject:not': 0.11; 'extension': 0.13; '*other*': 0.16; '.dll': 0.16; 'dlls': 0.16; 'exe': 0.16; 'from:name:mark hammond': 0.16; 'received:209.85.161.174': 0.16; 'reply-to:addr:mhammond': 0.16; 'reply-to:addr:skippinet.com.au': 0.16; 'subject:exe': 0.16; 'subject:run': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'packaging': 0.20; 'os,': 0.22; 'uses.': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'machine': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'possibility': 0.27; 'actual': 0.28; 'fine': 0.28; 'run': 0.28; 'file': 0.32; 'picking': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'needed': 0.35; 'stable': 0.35; 'received:192.168.0': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'modules': 0.36; 'visual': 0.36; 'should': 0.36; 'does': 0.37; 'why': 0.37; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'files': 0.38; 'some': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'most': 0.61; 'relatively': 0.62; 'different': 0.63; 'header :Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; 'subject:made': 0.84; 'to:none': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=aTwdUkQgN8wc1YnkD/ls+40VJvEZVZAb5L48XyanlXo=; b=FdTkV1/tiWAjAMzWqraUXyIMmiTpiEFi8LepJH5ejnHB6Nzzp0BH2G10w4L3UV2lIJ gdFLn8F8xbGhNAC6cvbhV31NLrWbdX9esheNYkt8PMjCZtRfWw4vDK1ZQ6vEiYng7doN ZtCKO7e3BgloW9xKMGZPWOS1bvAkixx2tWQ3EBgU0m5cyKk3bODLjsmWR5Ea+2xEhk3Z YVEvyHBLs+/eCfL87d3wtMv8rcnM5EJG4IU4smK6jW1sM/td4fgzbJaVXWWauOl1kXky wQChyDESJfxR7ReXGrCiMKfI5uAlJSh4VzQTptjNs4B/Qbr25Thm+rldlVI4NXnzlnr5 QVYA== Date: Wed, 04 Jul 2012 11:23:41 +1000 From: Mark Hammond User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120630 Thunderbird/15.0a2 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: exe made by py2exe do not run certain computer References: <27300d23-adf1-4638-a980-8568e1e74d0d@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: mhammond@skippinet.com.au List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341365029 news.xs4all.nl 6932 [2001:888:2000:d::a6]:41945 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24843 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