找不到PyInstaller lib

Ili*_*tid 5 python dll tkinter pyinstaller python-3.x

我使用tkinter制作了一个简单的python [3.5.2]程序.当我在其上使用pyinstaller [3.2]时,它给了我大量的"未找到lib"警告.例:

2999警告:未找到lib:c:\ python\python.exe的api-ms-win-crt-runtime-l1-1-0.dll依赖项

3031警告:未找到lib:c:\ python\python.exe的api-ms-win-crt-heap-l1-1-0.dll依赖项

3218警告:找不到lib:c:\ python\VCRUNTIME140.dll的api-ms-win-crt-runtime-l1-1-0.dll依赖项

3312警告:找不到lib:c:\ python\VCRUNTIME140.dll的api-ms-win-crt-convert-l1-1-0.dll依赖项

6494警告:找不到lib:c:\ python\DLLs_hashlib.pyd的api-ms-win-crt-heap-l1-1-0.dll依赖项

7271警告:未找到lib:c:\ python\DLLs\unicodedata.pyd的api-ms-win-crt-stdio-l1-1-0.dll依赖项

我用来制作可执行文件的.bat文件

@echo关闭

set/p 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

回声.

暂停

我究竟做错了什么?Windows 10 64位

小智 4

我自己刚刚遇到这个问题。问题在于pyinstaller与Windows 10不完全兼容。目前唯一的解决方案是下载Windows 10 SDK(2GB下载)。

在此处查看更多信息: https ://github.com/pyinstaller/pyinstaller/issues/1566