The error I am getting using python -m pip install py2exe:
Runtime Error: This package requires Python 3.3 or later
Command "python setup.py egg_info"
failed with error code 1
Note: The following works for the 32 bit but I need the 64 bit
pip install http: //sourceforge.net/projects/py2exe/files/latest/download?source=files
Posted on February 18, 2019 by Alperen in Software
$ cd C: \Python34\ Scripts
$ pip install py2exe
from distutils.core
import setup
import py2exe
setup(console = ['hello.py'])
$ cd C: \Tutorial
$ python setup.py py2exe
$ pyinstaller your_script.py
Mac Installer disk image (2.7.0) for OS X 10.5 and later (sig). It contains code for PPC, i386, and x86-64.,32-bit Mac Installer disk image (2.7.0) for OS X 10.3 and later (sig).,Windows X86-64 MSI Installer (2.7.0) [1] (sig),Windows x86 MSI Installer (2.7.0) (sig)
MD5 checksums and sizes of the released files:
35 f56b092ecf39a6bd59d64f142aae0f 14026384 Python - 2.7.tgz 0e8 c9ec32abf5b732bea7d91b38c3339 11735195 Python - 2.7.tar.bz2 bd0dc174cbefbc37064ea81db1f669b7 16247296 python - 2.7.amd64.msi 1719 febcbc0e0af3a6d3a47ba5fbf851 15913472 python - 2.7.msi 759077 d3763134b3272f0e04ea082bd9 21420655 python - 2.7 - macosx10 .3.dmg bb3d6f1e300da7fbc2730f1af9317d99 21509961 python - 2.7 - macosx10 .5.dmg 575156 d33dc71b6581865a374f5c7ad2 5754439 python27.chm
If you are using Windows and want to build a stand-alone binary download the Windows x86 MSI installer because py2exe for Python 2 doesn't work with 64 bit. Any performance increase from 64 bit is negligible.,A standalone binary can be created in the dist folder via,To actually build a stand-alone .exe, install,For local development / building stand-alone binaries.
> pip install virtualenv
...\mangle > virtualenv venv > venv\ Scripts\ activate(venv) > pip install - r requirements.txt
(venv) > python mangle.pyw
(venv) > python setup.py