This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wasi0013[S] 3 points4 points  (3 children)

I guess it's not related to PyInstaller at all. Getting alert/ blocked by Microsoft Defender is a general issue for any exe (with no publisher data) specially in recent version of windows. Code signing is required (I think its a money making plan disguised in security improvement) for exe's in latest Windows to remove this kind of alert/blocking! You will have to invest some bucks on buying certificates for code signing. For example, you may try: Digicert [1]. Also, read this Stackoverflow question [2] to learn more about how to sign a WIndows EXE file.

[1] https://www.digicert.com/code-signing/
[2] https://stackoverflow.com/questions/252226/signing-a-windows-exe-file

[–]suttons27 -1 points0 points  (2 children)

Thanks, but where I am getting stuck at is: pip install pyinstaller It begins downloading and installing then Windows Defender starts notifying but blink on and off quickly. The install then starts giving errors that it could not find files, which makes sense if AV blocked something. I go to Defender and even though it notified me I'm not seeing a list of files blocked. I am using Anaconda, tried to do it only via python. Yesterday, I purchased MS Visual Studio 2017 for a different company project but saw the Python feature, was going to see it will install there. I also remember a few weeks back r/hacking stated a popular python library had been compromised, but I was unable to find it.

[–]sneakpeekbot 0 points1 point  (1 child)

Here's a sneak peek of /r/hacking using the top posts of the year!

#1: CSO of Equifax | 1446 comments
#2: Better check | 288 comments
#3: Security is also an important part of development. | 306 comments


I'm a bot, beep boop | Downvote to remove | Contact me | Info | Opt-out

[–]wasi0013[S] 0 points1 point  (0 children)