mhammond / pywin32

Python for Windows (pywin32) Extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing service: access denied

vo1s opened this issue · comments

commented

I have error installing the service:

Installing service pythonService
copying host exe 'C:\Users\vo1s\PycharmProjects\ILIM_FILE_TRANSMITTER1\venv\lib\site-packages\win32\pythonservice.exe' -> 'C:\Users\vo1s\PycharmProjects\ILIM_FILE_TRANSMITTER1\venv\pythonservice.exe'
copying helper dll 'C:\Users\vo1s\PycharmProjects\ILIM_FILE_TRANSMITTER1\venv\lib\site-packages\pywin32_system32\pywintypes39.dll' -> 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\pywintypes39.dll'
Error installing service: access denied (5)

I cannot understand why it doesnt have some permissions. Please help.

This error is coming from Windows - I suspect the fact you are trying to use a service in `\Program Files" is the problem, but I'm really not sure.

The text you deleted from the issue template tells you how to get support - see https://github.com/mhammond/pywin32#support