Fatal error: PyInstaller does not include a pre-compiled bootloader for your 问题解决
卸载后重新装一下
PS E:\docker> pip uninstall pyinstaller Found existing installation: pyinstaller 4.7 Uninstalling pyinstaller-4.7: Would remove: d:\python\python310\lib\site-packages\pyinstaller-4.7.dist-info\* d:\python\python310\lib\site-packages\pyinstaller\* d:\python\python310\scripts\pyi-archive_viewer.exe d:\python\python310\scripts\pyi-bindepend.exe d:\python\python310\scripts\pyi-grab_version.exe d:\python\python310\scripts\pyi-makespec.exe d:\python\python310\scripts\pyi-set_version.exe d:\python\python310\scripts\pyinstaller.exe Proceed (y/n)? y Successfully uninstalled pyinstaller-4.7 PS E:\docker> pip install pyinstaller Collecting pyinstaller Downloading pyinstaller-4.7-py3-none-win32.whl (1.9 MB) |████████████████████████████████| 1.9 MB 15 kB/s Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in d:\python\python310\lib\site-packages (from pyinstaller) (2021.9.3) Requirement already satisfied: setuptools in d:\python\python310\lib\site-packages (from pyinstaller) (49.2.1) Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == "win32" in d:\python\python310\lib\site-packages (from pyinstaller) (0.2.0) Requirement already satisfied: altgraph in d:\python\python310\lib\site-packages (from pyinstaller) (0.17.2) Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in d:\python\python310\lib\site-packages (from pyinstaller) (2021.3) Requirement already satisfied: future in d:\python\python310\lib\site-packages (from pefile>=2017.8.1; sys_platform == "win32"->pyinstaller) (0.18.2) Installing collected packages: pyinstaller Successfully installed pyinstaller-4.7 WARNING: You are using pip version 20.2.3; however, version 21.3.1 is available. You should consider upgrading via the 'd:\python\python310\python.exe -m pip install --upgrade pip' command. PS E:\docker>
加油,愿被这世界温柔以待 ^_^