https://bugs.winehq.org/show_bug.cgi?id=49334
--- Comment #7 from Schlomo Schapiro schlomo@schapiro.org --- I attached a demo case, simple
print("Hello World")
EXE generated by PyInstaller.
To test yourself quickly you can use https://github.com/toilal/docker-pyinstaller docker image (I am also using that) and install winehq-devel or from source.