I created a game using pygame, and I wish to export it to a .exe
file. I've used pyinstaller for this, as it is available for Ubuntu. When I run the --onefile game
, it works perfectly fine (on my ubuntu computer). However, when I send it to my friend who has windows, it is NOT a Windows executable, but simply a "file" without any extension. He cannot run it. Renaming it Game.exe
has not worked either.
I'm out of ideas... can anyone help?