【Python】not allowed: --onedir/–onefilemakespec options not valid when a .spec file is given报错解决方案
大家好 我是寸铁👊
总结了一篇【Python】not allowed: --onedir/–onefilemakespec options not valid when a .spec file is given报错解决方案✨
喜欢的小伙伴可以点点关注 💝
前言
今天在使用
pyinstaller
打包时,报错如下:
具体如下:
[@localhost GCN_TSA]S pyinstaller-F GCN-TSA.spec223 INF0:PyInstaller:6.6.0,contrib hooks:2024.6
224 INF0:Python:3.10.6
225 INF0: Platform:Linux-3.10.0-327.el7.x86_64-x86_64-with-glibc2.17option