#๐Ÿ”’ How to Stop Antiviruses Flagging my Python EXE?

23 messages ยท Page 1 of 1 (latest)

warm basin
#

I want to share my apps as an exe, but antiviruses keep flagging it as a false positive. Is there a way to stop that?

sand summitBOT
#

@warm basin

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

cinder beacon
#

i think u need a license

warm basin
#

This requires payment right?

somber trail
warm basin
#

Oh...

#

Alright

strange sluice
#

if you're using pyinstaller, there are alternatives you can try like nuitka
not sure if that'll fix the problem of false positives though

strange sluice
warm basin
#

Alright

#

Actually I've switched from pyinstaller to cx_Freeze for this exact issue

#

Cases with cx_Freeze are less, but they still occur

delicate nymph
warm basin
#

No thank you, also I'm sharing the exe, can't convince people to turn off their antiviruses lol

umbral jackal
#

the only way to fully get rid of the av flags, is to sign your exes, which costs money

#

switching around between tools wont help any

#

something that tends to cut down on av flags is distributing your project as standalone, not onefile mode

warm basin
#

That's why there was a decrease in flags when I switched to cx_Freeze? Doesn't have a onefile mode

umbral jackal
#

i haven't used cx_freeze but if it has standalone mode then yes that'd make a ton of sense

#

standalone mode is basically an semi open distribution, where the exe and all the dlls exist within a folder.

sand summitBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.