From: David B. <db...@fi...> - 2005-09-14 00:00:18
|
Roger Erens <ro...@er...> writes: > Hi, > > I've got problems in trying to create a .exe file for the script below. > Could anyone with 'PIL-experience' comment on the script > eurocapture.pyw or setup.py script? > > I'm using py2exe 0.6.2 > Python 2.4.1 > wxPython 2.6.1.0 > PIL 1.1.5 > on a winXP box. > > The error (warning?) is: > > The following modules appear to be missing > ['_grabscreen'] I don't think that's a problem - the ImageGrab module for PIL has a conditional import of _grabscreen that is used for older PIL releases. But as of PIL 1.1.3 or later it's a built-in module (in Image.core, which is an alias for the _imaging extension). So basically this is a warning that py2exe couldn't find a module that might get imported at runtime, but you know that it won't happen with your PIL release. So you could probably just add that to the excludes setting to avoid getting the warning. -- David |