-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PythonService was unable to locate the service manager windows 10 #1987
Comments
Rolling back to python 3.10.5 solves the issue. |
I encountered a similar situation, although I received a different error: However your fix of reverting to 3.10.x resolved the problem. So it appears there's an incompatibility between Python 3.11 and pywin32, which needs corrected. |
I suspect it has something to do not only with Python version, but Windows Server as well. |
This issue seems to persist for 3.10.11 and 3.11.5 is there any way to fix this? |
Issue also persists when using Python 3.12. However using an environment built with 3.10.11, I do not get the error. (This is on a machine running Windows Server 2016.) |
I have a python service which has been running in my local machine for quite a lot now and everything works.
I was ready to transition to my server and I've been facing some issues with the insallation process.
I installed everything accordingly to running as a windows service.
After the installation of the service however the python service stops with error 1053 and with no useful informations.
After some digging I discovered that the problem might be related to the service manager.
When trying to run it in order to register it, which shouldn't be needed, the output is :
Which is weird because everything seems in place to me
The log states:
From the source code of service manager
i couldn't trace back the problem since it seems every problem redirects ultimately to this situation.
The text was updated successfully, but these errors were encountered: