不允许使用以下选项: --onedir/--onefile 当给出一个.spec文件时,makespec选项无效 解决方案:

翻译options not allowed --onedir--onefilemakespec options not valid when a spec file is given解决办法