Собираю батником
pyinstaller --onefile ^ --windowed ^ --add-data="exit.png;img" ^ --icon=32.ICO ^ --upx-dir "C:\Work\upx64" ^ --upx-exclude=vcruntime140.dll ^ men.py
Гугление не помогло.
Как избавиться от напасти?
pyinstaller --onefile ^ --windowed ^ --add-data="exit.png;img" ^ --icon=32.ICO ^ --upx-dir "C:\Work\upx64" ^ --upx-exclude=vcruntime140.dll ^ men.py