py2exe Service Error

Thomas Heller theller at python.net
Thu May 16 13:13:02 EDT 2002


"Matt Rapoport" <mattrapoport at hotmail.com> wrote in message news:f20c505a.0205160852.29bbc0a0 at posting.google.com...
> I've created a very simple Python sript that runs as a service on a
> Windows machine.  I'd like to distribute this program without having
> to distribute the python compiler.
>
> It seemed as though py2exe was the perfect solution.  I followed the
> instructions on the web site to create my .exe file and it runs
> perfectly on my machine!  Hurray!
>
> Here's the bad part ... when I copied the .exe file and all the other
> files in the dist/MyService directory to a machine that doesn't have
> Python installed on it it doesn't work.
>
> When I try to install the service I get this message:
>
> Could not open service manager, error code 5.
>
Error code 5 is "Access is denied." Is it a permission problem?
Does the target machine run the same operating system as the
development machine?
(Just wild guesses...)

Thomas





More information about the Python-list mailing list