Oct-09-2018, 07:52 PM
(Oct-09-2018, 06:32 PM)nilamo Wrote: This is a known issue for pyinstaller. There's a couple closed github issues, which makes it look like it might be fixed, but the version available through pip doesn't yet have the fix. So, you can either use a different version of pyinstaller, or you can follow their directions: https://pyinstaller.readthedocs.io/en/v3...ml#windowswhat if i use py2exe ?Quote:For Python >= 3.5 targeting Windows < 10, the developer needs to take special care to include the Visual C++ run-time .dlls: Python 3.5 uses Visual Studio 2015 run-time, which has been renamed into “Universal CRT“ and has become part of Windows 10. For Windows Vista through Windows 8.1 there are Windows Update packages, which may or may not be installed in the target-system. So you have the following options:If you think, PyInstaller should do this by itself, please help improving PyInstaller.
- Build on Windows 7 which has been reported to work.
- Include one of the VCRedist packages (the redistributable package files) into your application’s installer. This is Microsoft’s recommended way, see “Distributing Software that uses the Universal CRT“ in the above-mentioned link, numbers 2 and 3.
- Install the Windows Software Development Kit (SDK) for Windows 10 and expand the .spec-file to include the required DLLs, see “Distributing Software that uses the Universal CRT“ in the above-mentioned link, number 6.