Run # python==3.7.16 pip install flask pyinstaller python app.py Pyinstaller pyinstaller -F -n tool.exe app.py