I'm experimenting with Nuitka on Ubuntu 14.04 and trying to create and run an executable. I have a file hello.py
with the contents
print("Hello please")
Which I've turned into hello.exe
using the command nuitka hello.py
. However, when I try to run it using Wine 1.7, I get get the following error:
$ wine hello.exe
wine: Bad EXE format for Z:\home\crclayton\hello.exe.
I think this is a problem with Nuitka, not Wine because I can use Wine to run a helloworld.exe I created in C#. Does anyone know how to fix it?
Edit:
I wasn't having any luck on Ubuntu so I tested out the hello.exe out on my Windows 7 partition (both Ubuntu and Windows are 64-bit) and I got the following error:
The version of this file is not compatible with the version of windows you're running. Check your computer's system information to see whether you need an x86 (32 bit) or x64 (64 bit) version of the program, and then contact the software publisher.
Is the problem that Nuitka is creating a 32-bit exe and I'm trying to run it on a 64-bit OS? And if so, anyone know how to fix it?