py2exe fails to make valid exe

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Apr 2 05:32:21 EDT 2009


En Wed, 01 Apr 2009 01:30:39 -0300, prakash jp <prakash.stack at gmail.com>  
escribió:

> On --> python setup.py py2exe
>
> the dist folder is created but the exe creted is not working it throws an
> error "pythons ps.popen function"

Please copy & paste the actual error message and the stack trace.

> setup.py:
>
> #python setup.py py2exe
> from distutils.core import setup
> import py2exe
> setup(console=['nameofprg.py'])

This would be the minimal setup.py, and works with most simple programs.  
Note that some modules and libraries have special needs.
What modules do you use in your code?

-- 
Gabriel Genellina




More information about the Python-list mailing list