473,386 Members | 1,598 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,386 software developers and data experts.

Error on windows startup (zipextimporter)

HI everybody !
I have finished my python program with WxPython and it compile with py2exe
My program work fine when I start it by an icon but when I use windows registry (HKCU\Sofware\windows\currentversion\run\myprogram .exe) to start my program on windows startup my program does'nt work and I have this error:
Expand|Select|Wrap|Line Numbers
  1. Traceback (most recent call last):
  2.   File "<install zipextimporter>", line 1, in <module>
  3. ImportError: No module named zipextimporter
  4. Traceback (most recent call last):
  5.   File "myprogram.pyw", line 6, in <module>
  6. ImportError: No module named wx
I think it's a py2exe problem so here the setup.py:
Expand|Select|Wrap|Line Numbers
  1. from distutils.core import setup 
  2. import py2exe 
  3.  
  4. opts = {
  5.     "py2exe": {
  6.         "includes": "email.mime.text"
  7.     }
  8. }
  9.  
  10. setup( 
  11.     options={"py2exe":{"bundle_files": 2,"compressed": 3, "optimize": 0, "includes": "email.encoders, email.generator, email.iterators, email.utils, email.mime.base, email.mime.multipart, email.mime.text, email.base64mime"}}, 
  12.     windows=[
  13.             {
  14.                 "script":"D:\\myprogram.pyw",
  15.                 "icon_resources": [(1, "D:\\icon.ico")]
  16.             }],
  17.     )
  18.  
Can you help me please
Thank !
Jan 12 '08 #1
0 1250

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
4
by: acemann7 | last post by:
Windows 2000 udb v 7.2 Got the latest fixpak 13 Applied it. Still can't get a single java sp to run. I used to get reason "2"... now reason "0" - reason 0 is not even documented. I point...
1
by: Janez Kostanjček | last post by:
Hello everyone, this is my first post to postgres mailing list. System that I use: I am using Postgres under last CygWin published on public mirrors at the moment. OS system runing is...
3
by: Mihai | last post by:
In VB I created a solution with 2 projects: one is a class library and one is windows control library.When I pressed F5 on control library (that is startup project) everything was Ok. The program...
8
by: =?Utf-8?B?TWFydGluIFNhY2hz?= | last post by:
I have been using MSCONFIG (XP Pro) for four years with no problem. I always use it in Administrator. Last night, when I attempted to go into selective startup mode, I got the following error...
0
by: Keith Bailey | last post by:
Dear All, Any help on this would be hugely appreciated. I have had a Python programme written for me, but when I try to run it, I get the following error message: /*Traceback (most recent...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Programs dealing with autoruns Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list programs that help me to view/modify the autoruns...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.