I don't even know where to ask my question.
I have a Python script that must work as service in Windows 10/Windows Server 2012. Code works fine without code block for running as service.
I've installed service, but can't run it.
If I'm trying to run it with command python pyxlsql.py start
Debugging service pyXLSQL - press Ctrl+C to stop.
Error 0xC0000003 - The instance's SvcRun() method failed
<Error getting traceback - traceback.print_exception() failed
(null): (null)
From IDE IntelliJ:
servicemanager.StartServiceCtrlDispatcher()
pywintypes.error: (1063, 'StartServiceCtrlDispatcher'
From services.msc
code error 1053
Is it better to make an exe package first and then install it?