469,621 Members | 1,688 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

ImportError: No module named zipextimporter on py2exe when {

Hi,

I'm trying to compile using py2exe, and am getting the following:

$ python_win Setup.py py2exe
running py2exe
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win 32
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win 32\winexe
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win 32\winexe\collect-2.5
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win 32\winexe\bundle-2.5
creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win 32\winexe\temp
*** searching for required modules ***
Traceback (most recent call last):
File "Setup.py", line 96, in <module>
windows = [test_wx]
File "C:\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "c:\Python25\lib\site-packages\py2exe\build_exe.py", line 228, in run
self._run()
File "c:\Python25\lib\site-packages\py2exe\build_exe.py", line 281, in _run
self.find_needed_modules(mf, required_files, required_modules)
File "c:\Python25\lib\site-packages\py2exe\build_exe.py", line 1202, in find_needed_modules
mf.import_hook(mod)
File "c:\Python25\lib\site-packages\py2exe\mf.py", line 716, in import_hook
return Base.import_hook(self,name,caller,fromlist,level)
File "c:\Python25\lib\site-packages\py2exe\mf.py", line 136, in import_hook
q, tail = self.find_head_package(parent, name)
File "c:\Python25\lib\site-packages\py2exe\mf.py", line 204, in find_head_package
raise ImportError, "No module named " + qname
ImportError: No module named zipextimporter
My Setup.py (produced by GUI2Exe) is attached.

Note that I set compressed to 0 in Setup.py (options = {"py2exe": {"compressed": 0), but it does not help.

Any ideas ?

Bye,
Ron.

Sep 10 '08 #1
0 2203

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Carsten Gehling | last post: by
reply views Thread by M. Lavasani | last post: by
1 post views Thread by nyiann | last post: by
4 posts views Thread by prashant | last post: by
3 posts views Thread by Tim | last post: by
1 post views Thread by kyosohma | last post: by
4 posts views Thread by vincehofmeister | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.