py2exe and COM32

x-herbert i.steinhardt at web.de
Fri Nov 1 05:05:49 EST 2002


Hi, I will build an .exe of my python script...

I have the follow header:

import win32com, sys, string, win32api, re, os
import win32com.client.gencache
from os import spawnv, P_WAIT, unlink
from Tkinter import Tk, Button, Frame, Label
from Tkconstants import *
from win32com.client import gencache
from win32com.client.gencache import EnsureDispatch

and during the "compilation" i have the follow failure-message:

creating dist\Outlook_COM_05\Outlook_COM_05.exe
warning: py2exe: could not parse version number ''
  No VersionInfo will be created
copying C:\PYTHON22\DLLs\tk83.dll -> dist\Outlook_COM_05
copying C:\PYTHON22\DLLs\tcl83.dll -> dist\Outlook_COM_05
copying C:\PYTHON22\DLLs\_tkinter.pyd -> dist\Outlook_COM_05
copying C:\Python22\Lib\site-packages\win32\win32trace.pyd ->
dist\Outlook_COM_05
copying C:\WINDOWS\SYSTEM\python22.dll -> dist\Outlook_COM_05
copying C:\WINDOWS\SYSTEM\PyWinTypes22.dll -> dist\Outlook_COM_05
copying C:\Python22\Lib\site-packages\Pythonwin\win32ui.pyd ->
dist\Outlook_COM_05
copying C:\PYTHON22\DLLs\_sre.pyd -> dist\Outlook_COM_05
copying C:\Python22\Lib\site-packages\win32\win32api.pyd ->
dist\Outlook_COM_05
copying C:\WINDOWS\SYSTEM\pythoncom22.dll -> dist\Outlook_COM_05
warning: py2exe:
*************************************************************************
warning: py2exe: * The following modules were not found:
warning: py2exe: *   win32dbg.dbgcon
warning: py2exe: *   win32dbg
warning: py2exe: *   win32com.client.Dispatch
warning: py2exe: *   win32com.client.NeedUnicodeConversions
warning: py2exe:
*************************************************************************
removing 'build\bdist.win32\winexe\collect\Outlook_COM_05' (and everything
under it)
Built File dist\Outlook_COM_05\Outlook_COM_05.exe
removing 'build\bdist.win32\winexe' (and everything under it)


Have anybody an solution?? my script works o.k. ....

Thanks
Ingolf



More information about the Python-list mailing list