Ron Alford <ronwalf@...> writes:
> When upgrading to Python2.4, my py2exe build of one of my apps started
> failing with 'zipimport.ZipImportError: can't find module ...'
> The module was clearly included in the library.zip, but wasn't being found.
> This sounds similar to two separate issues brought up in December and
> early February. The solution for me was to diligantly remove all
> extraneous .pyc files left over from before the upgrade to python2.4,
> and re-run the build.
Yes, sometimes it is a good idea to delete the build subdirectory -
ctypes collects all that is copied there. The next version (when I get
time to release it ;-) will use different build\temp subdirectories for
each Python version, and also only include those modules from it that
are actually needed.