Windows Server cannot execute a py2exe-generated app

Posted by Paul Oyster on Stack Overflow See other posts from Stack Overflow or by Paul Oyster
Published on 2009-12-24T21:26:29Z Indexed on 2010/04/21 2:23 UTC
Read the original article Hit count: 510

Filed under:
|
|

A simple python script needs to run on a windows server with no python installed.

I used py2exe, which generated a healthy dist subdirectory, with script.exe that runs fine on the local machine.
However, when I run it on the server (Windows Server 2003 R2), it produces this:
The system cannot execute the specified program.

and ERRORLEVEL is 9020.

Any ideas?

© Stack Overflow or respective owner

Related posts about python

Related posts about py2exe