WIN10利用pyinstaller将Python3.6文件打包成exe程序如何在WIN7上运行

写的是一个输入txt文件路径,然后用matplotlib把这个txt里的值画出来的程序,
用pyinstaller生成exe,在WIN7上运行不出来

有错误,使用pyinstaller -D app.py 打包解决