python文件转exe后不可执行

转换文件

img


转换后文件

img


转换代码
C:\tree>pyinstaller -F -i ./fac.ico tree.py

没有fac.ico

你把文件名改为 tree.exe

没打包好吧