How to generate a Windows executable using pyinstaller on Linux?

Viewed 8562

I'm trying to generate an executable from Linux for Windows using pyinstaller.

pyinstaller --onefile --windowed montecarlo.py

I run this command and get a single executable that works on Linux just fine, but if I try on Windows, it's just a simple file. Why?

1 Answers
Related