Access denied using Py2exe

后端 未结 4 1095
后悔当初
后悔当初 2021-01-11 17:52

I\'m using Py2exe to create an executable as a windows service.

When I run the script I get this error:

File \"C:\\TeamCity\\buildAgent\\work\

4条回答
  •  迷失自我
    2021-01-11 18:12

    After two days investigating we found a solution with the help of the IT staff.

    The issue arise when py2exe try to modify the executable adding metadata and\or icon.

    The root cause? Simple... ANTIVIRUS.

    It considers that operation a threat and cause the Access Denied error.

    Thank you all!

提交回复
热议问题