Modern Python Projects Transcripts
Chapter: Let's build an app
Lecture: Windows and a virus warning

Login or purchase this course to watch this video and the rest of the course contents.
0:00 When we were building a python application using by installer with Windows,
0:05 you probably notice this pop up about the virus.
0:08 So it turns out that some anti virus software will detect programs build with pyinstaller
0:14 as viruses. In my video,
0:16 I managed to take this executable file and move it to a different Windows machine,
0:20 and there it ran without any issues.
0:23 But it might happen that when you send this executable file to someone,
0:28 Windows or other anti virus software will complain and they won't be able to run it
0:32 So when you Google for pyinstaller and virus,
0:35 you will probably find some answers.
0:37 One of them is that pyinstaller comes with some pre compiled boot loaders for different
0:42 operating systems. And when your Windows machine is complaining about that,
0:46 then you will have to compile your own boot loader, so we can go to the
0:51 pyinstaller documentation. Here and here you will find all the information about building your
0:57 own boot loader. So if you're building an application with pyinstaller and you get
1:03 this virus warning, I suggest that you go to the pyinstaller documentation and search
1:08 for the building the boot loader,and then you follow your steps to build your own. That hopefully should solve it.