Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:verizon.net': 0.07; 'subject:missing': 0.07; 'terry': 0.07; 'advance.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'am,': 0.13; 'binary': 0.13; 'gui': 0.13; 'wrote:': 0.15; 'binary.': 0.16; 'dlls': 0.16; 'exe': 0.16; 'included,': 0.16; 'reedy': 0.16; 'subject:modules': 0.16; 'jan': 0.19; 'this?': 0.22; 'header:In- Reply-To:1': 0.22; 'stuff': 0.22; 'appear': 0.23; 'suspect': 0.25; 'modules': 0.25; 'windows': 0.26; 'skip:b 20': 0.26; "skip:' 30": 0.29; 'problem': 0.29; '"the': 0.29; 'compiling': 0.30; 'thanks': 0.31; "skip:' 10": 0.32; 'to:addr:python-list': 0.34; 'header:X -Complaints-To:1': 0.34; 'header:User-Agent:1': 0.34; 'operating': 0.34; 'app': 0.35; 'file': 0.36; 'depend': 0.37; 'received:org': 0.38; 'subject:: ': 0.38; 'hello,': 0.38; 'should': 0.39; 'header :Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'missing': 0.40; 'skip:. 10': 0.40; 'skip:r 20': 0.40; 'your': 0.60; 'peter': 0.62; 'below,': 0.65; 'subject:The': 0.73; '***': 0.73; 'gcc?': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: The following modules appear to be missing - py2exe Date: Tue, 19 Jul 2011 12:45:22 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 In-Reply-To: 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: 95 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311093935 news.xs4all.nl 23977 [2001:888:2000:d::a6]:42509 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9887 On 7/19/2011 5:47 AM, Peter Irbizon wrote: > Hello, please I have problem with "The following modules appear to be > missing" message during compiling my app exe file with py2exe. What > should I do with this? Many thanks in advance. From the stuff below, you appear to be compiling for Windows. > The following modules appear to be missing > ['Carbon', 'Carbon.Files', This is Mac gui stuff which you neither need nor want in a Windows binary. I suspect mis-specification somewhere. '_scproxy', 'fixedpoint', 'gdk', 'mx', 'unix', 'glib. compiling with gcc? You appear to be missing its glib. > GError', 'glib.IOChannel', 'glib.IO_ERR', 'glib.IO_FLAG_APPEND', > 'glib.IO_FLAG_G > ET_MASK', 'glib.IO_FLAG_IS_READABLE', 'glib.IO_FLAG_IS_SEEKABLE', > 'glib.IO_FLAG_ > IS_WRITEABLE', 'glib.IO_FLAG_MASK', 'glib.IO_FLAG_NONBLOCK', > 'glib.IO_FLAG_SET_M > ASK', 'glib.IO_HUP', 'glib.IO_IN', 'glib.IO_NVAL', 'glib.IO_OUT', > 'glib.IO_PRI', > 'glib.IO_STATUS_AGAIN', 'glib.IO_STATUS_EOF', 'glib.IO_STATUS_ERROR', > 'glib.IO_ > STATUS_NORMAL', 'glib.Idle', 'glib.MainContext', 'glib.MainLoop', > 'glib.OPTION_E > RROR', 'glib.OPTION_ERROR_BAD_VALUE', 'glib.OPTION_ERROR_FAILED', > 'glib.OPTION_E > RROR_UNKNOWN_OPTION', 'glib.OPTION_FLAG_FILENAME', > 'glib.OPTION_FLAG_HIDDEN', 'g > lib.OPTION_FLAG_IN_MAIN', 'glib.OPTION_FLAG_NOALIAS', > 'glib.OPTION_FLAG_NO_ARG', > 'glib.OPTION_FLAG_OPTIONAL_ARG', 'glib.OPTION_FLAG_REVERSE', > 'glib.OPTION_REMAI > NING', 'glib.OptionContext', 'glib.OptionGroup', > 'glib.PRIORITY_DEFAULT', 'glib. > PRIORITY_DEFAULT_IDLE', 'glib.PRIORITY_HIGH', 'glib.PRIORITY_HIGH_IDLE', > 'glib.P > RIORITY_LOW', 'glib.Pid', 'glib.PollFD', > 'glib.SPAWN_CHILD_INHERITS_STDIN', 'gli > b.SPAWN_DO_NOT_REAP_CHILD', 'glib.SPAWN_FILE_AND_ARGV_ZERO', > 'glib.SPAWN_LEAVE_D > ESCRIPTORS_OPEN', 'glib.SPAWN_SEARCH_PATH', > 'glib.SPAWN_STDERR_TO_DEV_NULL', 'gl > ib.SPAWN_STDOUT_TO_DEV_NULL', 'glib.Source', 'glib.Timeout', > 'glib.child_watch_a > dd', 'glib.filename_display_basename', 'glib.filename_display_name', > 'glib.filen > ame_from_utf8', 'glib.get_application_name', 'glib.get_current_time', > 'glib.get_ > prgname', 'glib.glib_version', 'glib.idle_add', 'glib.io_add_watch', > 'glib.main_ > context_default', 'glib.main_depth', 'glib.markup_escape_text', > 'glib.set_applic > ation_name', 'glib.set_prgname', 'glib.source_remove', > 'glib.spawn_async', 'glib > .timeout_add', 'glib.timeout_add_seconds', 'glib.uri_list_extract_uris'] > > *** binary dependencies *** > Your executable(s) also depend on these dlls which are not included, > you may or may not need to distribute them. > > Make sure you have the license if you distribute any of them, and > make sure you don't distribute files belonging to the operating system. > > USP10.DLL - C:\WINDOWS\system32\USP10.DLL > OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll > USER32.dll - C:\WINDOWS\system32\USER32.dll > POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll > SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll > ole32.dll - C:\WINDOWS\system32\ole32.dll > SHLWAPI.DLL - C:\WINDOWS\system32\SHLWAPI.DLL > COMDLG32.DLL - C:\WINDOWS\system32\COMDLG32.DLL > ADVAPI32.DLL - C:\WINDOWS\system32\ADVAPI32.DLL > msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll > WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll > WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV > GDI32.dll - C:\WINDOWS\system32\GDI32.dll > DNSAPI.DLL - C:\WINDOWS\system32\DNSAPI.DLL > VERSION.dll - C:\WINDOWS\system32\VERSION.dll > KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll > IMM32.DLL - C:\WINDOWS\system32\IMM32.DLL > COMCTL32.DLL - C:\WINDOWS\system32\COMCTL32.DLL > MSIMG32.DLL - C:\WINDOWS\system32\MSIMG32.DLL > MPR.dll - C:\WINDOWS\system32\MPR.dll > gdiplus.dll - C:\WINDOWS\system32\gdiplus.dll > -- Terry Jan Reedy