wsl里运行pyinstaller输出的文件不是exe
在windows环境下运行即可,输出的文件是.exe
最常用的命令
单文件 无窗口 输出exe路径 py脚本 重命名啦啦啦.exe
pyinstaller --onefile --windowed --distpath=./build script.py -n 啦啦啦
在windows环境下运行即可,输出的文件是.exe
单文件 无窗口 输出exe路径 py脚本 重命名啦啦啦.exe
pyinstaller --onefile --windowed --distpath=./build script.py -n 啦啦啦