fishllka.blogg.se

Pyinstaller windows
Pyinstaller windows







  • Build the bootloader in its directory: $ cd bootloader & python.
  • Checkout the latest version, 4.2 as of today: $ git checkout v4.2.
  • Clone the PyInstaller repository from GitHub: $ git clone.
  • Remove any PyInstaller installation you might already have: $ pip uninstall PyInstaller.
  • pyinstaller windows

    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.

    pyinstaller windows

  • Download Build Tools for Visual Studio 2019 from Microsoft.
  • For some reason I turned to it only after I had followed some other recipe. The main entry point should be the PyInstaller documentation on building bootloaders. These are my public mental notes of the steps required.

    pyinstaller windows

    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.









    Pyinstaller windows