Py2exe generator not working

I ran this setup.py file

from distutils.core import setup

import py2exe, sys, os

sys.argv.append('py2exe')

setup(
    options = {'py2exe': {'bundles_files': 1}},

    windows = [{'script': "Driverscript.py"}],

    zipfile = None,

)

      

This creates an executable and packages, but it doesn't start every time I try to start it, it says it ran into an error and had to close every time. Is there something else I need to do first or is there something wrong with my setup.py file? all inputs are welcome thanks

+1


source to share


1 answer


What is the error log output? This can mean a lot. I'm assuming you are composing a windows app? Are you using this app on Windows? You might want to run the application from the command line and see if you have any errors.



+1


source







All Articles