1
票
pyenv+venv 環境でpywin32によるサービス開始ができない
ご紹介いただいた以下のサイトを参考にしたところ、サービス起動が成功しました。
How to Run Python Script as a Service (Windows & Linux)
最終的にPyInstallerでの提供を考えていたので、とても助かりました。
ソースコード修正
import win32serviceutil
import win32service
import ...
Only top scored, non community-wiki answers of a minimum length are eligible