

Install/upgrade setuptools: $ pip install setuptools -upgrade.Switch to the “Individual components” tab and select “Windows Universal CRT SDK” in the addition to the components already selected. Run the vs_BuildTools.exe downloaded in the previous step.


In order to fix such issues for two projects I maintain, NodeMCU PyFlasher and ThingPulse App Fairy, I finally bit the bullet and built my own Windows bootloader for PyInstaller. Look around the internet for “PyInstaller virus” and you will get lots of hits such as here, here, and here. Some anti-virus vendors have included snippets of PyInstaller code in their virus definitions. Building your own bootloader for PyInstaller is often required to avoid seeing virus scanners (falsely) report your executable as infected.
