Pyinstaller只生成了.spec的文件
错误代码:PS C:\Users\wanghuaicheng\PycharmProjects\pythonProject> Pyinstaller -F setup.exe
65 INFO: PyInstaller: 4.10
65 INFO: Python: 3.10.2
76 INFO: Platform: Windows-10-10.0.22000-SP0
77 INFO: wrote C:\Users\wanghuaicheng\PycharmProjects\pythonProject\setup.spec
79 INFO: UPX is not available.
script 'C:\Users\wanghuaicheng\PycharmProjects\pythonProject\setup.exe' not found
PS C:\Users\wanghuaicheng\PycharmProjects\pythonProject>
求解!!感谢! -F 后面应该跟着 python 文件的名字
pyinstaller -F setup.py
页:
[1]