有输出框
pyinstaller --hidden-import=PyQt5 --hidden-import=lxml -F -n "labelImg" -c main.py -p ./ --distpath "C:/abc" --add-data "./data;data/"
--distpath 打包输出路径
没有输出框
pyinstaller --hidden-import=PyQt5 --hidden-import=lxml -F -n "labelImg" -w main.py -p ./ --distpath "C:/abc" --add-data "./data;data/"
标签:pyinstaller,--,labelImage,distpath,import,hidden,data,打包
From: https://www.cnblogs.com/JentZhang/p/17622501.html