1.程序运行正常,在使用pyinstaller打成 .exe可执行文件后,双击运行报如下错误:
Auto_Runner_Api_Main.exe 程序执行时报如下错误:
ERROR: usage: Auto_Runner_Api_Main.exe [options] [file_or_dir] [file_or_dir] [...]
Auto_Runner_Api_Main.exe: error: unrecognized arguments: --alluredir=\ApiTestReport --clean-alluredir
inifile: None
rootdir: C:\Users\oscar\eclipse-workspace\AutoRunner_ApiPlatform\src\dist
注:本机已按装allure-pytest插件,将参数'--alluredir=\ApiTestReport', '--clean-alluredir'去掉打包成exe可以正常运行,难道 allure_pytest 包没打进去吗