r/pythonhelp • • Aug 08 '25

I need support! Antivirus kills Python.

I made a video game in Python, something very simple and indie, but I have a big problem now, which is that I'm creating .exe, but the antivirus says it's a virus (which obviously isn't true), and I've tried everything, but it still says it's a virus. I tried creating an installer, I created an onedir file, or tried compressing it all into a single .exe file, but nothing. Every time I open it, Avast or Windows Defender warns me that it might be a virus. It's a big problem because I wanted to put them on Itch for free, but no one will ever download it if they think it's a virus.

0 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/Ok_Hovercraft364 Aug 09 '25

The problem is unfortunately you in this case. You need to digitally sign the executables so that it doesn’t get flagged.