473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 2383

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carsten Gehling | last post by:
Figured out myself - I just removed the line with "from url import Url" -it doesn't seem to be used anywhere ;-) - Carsten > -----Oprindelig meddelelse----- > Fra:...
2
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
0
by: M. Lavasani | last post by:
Hi I am trying to test Python-2.3. Any solution for this problem please: >>>gmake test case $MAKEFLAGS in \ *-s*)...
1
by: nyiann | last post by:
Hi, Brand new to python. I am trying to install the py2exe modeule, and when I run scripts (simple ones I've made, and examples) I get an importerror. At the python command line I type: import...
4
by: prashant | last post by:
I am running a python script which has the line import getopt, sys, os, re, string And i get the error ImportError: No module named getopt Could you please point out a possible solution...
3
by: Tim | last post by:
I'm at the end of my limited experience... I'm using py2exe to create an executable. I'm using bundle level 1. When I don't use the zipfile option, the executable and library.zip get created and...
1
by: kyosohma | last post by:
Hi, Recently I began my journey into creating executables. I am using Andrea Gavana's cool GUI2EXE program which works very well and that is a GUI for py2ece. I am also using Inno Setup to...
4
by: Daniel | last post by:
Hello, I'm trying to build a very simple IPC system. What I have done is create Data Transfer Objects (DTO) for each item I'd like to send across the wire. I am serializing these using...
4
by: vincehofmeister | last post by:
Hey everyone: I am using py2exe and everything is working fine except one module, ClientCookie, found here: http://wwwsearch.sourceforge.net/ClientCookie/ Keeps coming up as not found no...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.