Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python': 0.07; 'context:': 0.09; 'dict': 0.09; 'importerror:': 0.09; 'runtime': 0.09; 'setup.py': 0.09; 'this:': 0.11; 'wrote:': 0.14; 'subject:python': 0.15; 'alex23': 0.16; 'message-id:@talk.nabble.com': 0.16; 'nabble.com.': 0.16; 'received:192.168.236': 0.16; 'received:192.168.236.156': 0.16; 'received:216.139': 0.16; 'received:216.139.236': 0.16; 'received:isper.nabble.com': 0.16; 'received:nabble.com': 0.16; 'subject:dll': 0.16; 'url:nabble': 0.16; 'url:old': 0.16; 'compiled': 0.18; 'header:In-Reply-To:1': 0.22; 'specified': 0.22; 'version': 0.25; 'archive': 0.26; 'url:mailman': 0.27; 'load': 0.28; 'hall': 0.29; 'installed': 0.29; 'list': 0.30; "skip:' 10": 0.32; 'to:addr:python-list': 0.32; 'project': 0.32; 'url:listinfo': 0.33; 'options': 0.34; 'using': 0.34; 'received:192': 0.34; 'skip:" 10': 0.34; 'alex': 0.35; 'put': 0.35; 'charset:us-ascii': 0.36; 'received:192.168': 0.37; 'url:python': 0.37; 'but': 0.38; 'url:org': 0.38; 'so,': 0.38; 'mailing': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'works': 0.40; 'procedure': 0.60; 'view': 0.64; 'found.': 0.65; 'url:cgi': 0.65; 'subject:program': 0.68; 'failed:': 0.84 Date: Tue, 3 May 2011 23:12:01 -0700 (PDT) From: DonAmit To: python-list@python.org Subject: Re: dll errors in compiled python program In-Reply-To: <56def94c-f0d8-4aa2-b46d-be06138ab5b0@q36g2000prg.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: amit.paunikar@gmail.com References: <56def94c-f0d8-4aa2-b46d-be06138ab5b0@q36g2000prg.googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list 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: 32 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304489523 news.xs4all.nl 81482 [::ffff:82.94.164.166]:48071 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4598 You can do this easy by adding this to the options dict in setup.py 'dll_excludes': [ "mswsock.dll", "powrprof.dll" ] source: http://stackoverflow.com/questions/1979486/py2exe-win32api-pyc-importerror-dll-load-failed -Amit alex23 wrote: > > Alex Hall wrote: >> I am stumped. The compiled version of my project works on my pc, but >> when I put it on a thumb drive and try it on a laptop without python >> installed I get this: >> ImportError: DLL load failed: The specified procedure could not be found. > > Are you using py2exe? If so, are you including the necessary MS > runtime dll[1]? > > 1: http://www.py2exe.org/index.cgi/Tutorial#Step5 > -- > http://mail.python.org/mailman/listinfo/python-list > > -- View this message in context: http://old.nabble.com/dll-errors-in-compiled-python-program-tp28407640p31538796.html Sent from the Python - python-list mailing list archive at Nabble.com.