#๐ How to Stop Antiviruses Flagging my Python EXE?
23 messages ยท Page 1 of 1 (latest)
@warm basin
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.
i think u need a license
This requires payment right?
Not without registering a license with Microsoft
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
I'm using cx_Freeze
well then you can try pyinstaller / nuitka / other stuff that can turn your .py into .exe
Alright
Actually I've switched from pyinstaller to cx_Freeze for this exact issue
Cases with cx_Freeze are less, but they still occur
Turn off real time protecting
No thank you, also I'm sharing the exe, can't convince people to turn off their antiviruses lol
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
That's why there was a decrease in flags when I switched to cx_Freeze? Doesn't have a onefile mode
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.
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.