Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyInstaller lib not found

I made a simple python[3.5.2] program using tkinter. When I use pyinstaller[3.2] on it it gives me a ton of 'lib not found' warnings. Example:

2999 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\python\python.exe

3031 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\python\python.exe

3218 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\python\VCRUNTIME140.dll

3312 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\python\VCRUNTIME140.dll

6494 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\python\DLLs_hashlib.pyd

7271 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\python\DLLs\unicodedata.pyd

.bat file I use to make executables is

@echo off

set /p file_name="Enter file name: "

pyinstaller %0..\%file_name%\%file_name%.py --onefile --windowed --distpath %0..\%file_name% --name=%file_name%

del %file_name%.spec

rmdir /s /q build

echo.

pause

What am I doing wrong? Windows 10 64bit

like image 866
Ilitid Avatar asked Sep 25 '16 14:09

Ilitid


1 Answers

Just had this problem myself. The problem is that pyinstaller is not fully compatible Windows 10. The only solution currently is to download the Windows 10 SDK (a 2GB download).

See more here: https://github.com/pyinstaller/pyinstaller/issues/1566

like image 104
Joe Bashe Avatar answered Sep 29 '22 18:09

Joe Bashe