简体   繁体   中英

Need help creating an exe from python script

I am wanting to create an exe version of my python script so and I am using a friends computer to test.

The script creates a basic text editor which can load, save etc. I am using http://www.py2exe.org/ to create the exe. and I have been using this tutorial: http://www.py2exe.org/index.cgi/Tutorial

Everything works fine on my computer but when I try to run it on my friends computer I get this error:

"The version of this file is not compatible with the version of Windows youre running. Check your computers system information to see wether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher."

I have windows 7 64bit and my friend has windows 7 32bit I want it to be compatible with both.

Any help would be apreciated this is my first time trying anything like this.

Thanks Tom

You can either build both an x86 and x64 (32-bit and 64-bit) version, or you can build it only as a 32-bit version.

The 32-bit version will run on both 64-bit and 32-bit Windows systems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM