2

I'm trying to run python script as a windows service and then I need to use pywin32.

After installation pywin32 via pip install I should run pywin32_postinstall as python pywin32_postinstall -install. I've got this reply and have no idea about this situation anymore:

'scripts/pywin32_postinstall.py' not found in metadata at c:\python\lib\site-packages\

result of pywin32_postinstall

As a result I can't run my service.

Did You meet similar situation or have You any ideas?

2 Answers 2

2

I solved my problem!

Don't install via pip

Just need to download suitable file from here: https://github.com/mhammond/pywin32/releases

After the installation run python pywin32_postinstall -install and no errors will not occur.

Sign up to request clarification or add additional context in comments.

Comments

1

try running "python scripts\pywin32_postinstall.py -install" from the root of the install directory

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.