[python-win32] Re: py2exe app on Windows 95

Craig H. Anderson craig at coot.net
Tue Oct 26 15:48:42 CEST 2004


App is still not running,  but I found some log output finally. 

Traceback (most recent call last):
 File "WOCloseApp.py", line 2, in ?
 File "adodbapi\__init__.pyc", line 1, in ?
 File "adodbapi\adodbapi.pyc", line 24, in ?
 File "win32com\__init__.pyc", line 5, in ?
 File "win32api.pyc", line 9, in ?
 File "win32api.pyc", line 7, in __load
ImportError: DLL load failed: A device attached to the system is not 
functioning. 

line 5 c/Python23/Lib/site-packages/win32com/__init__.py
import win32api, sys, os 

The dist folder has a file win32api.pyd 


setup.py
from distutils.core import setup
import py2exe 

setup(name = "GcsDirecTech",
     version = "1.0",
     packages = ["GcsDirecTech"
                 ],
     windows = ["GcsDirecTech/WOCloseApp.py"
                ],
     console = ["GcsDirecTech/Hello.py"
                ]
     ) 



More information about the Python-win32 mailing list