I want to make an executable file from a python file the python file is written for Python 2.7.
I tried pyinstaller but it gives me an error when installing. I'm guessing it does not have support for Python 2.7 anymore.
Are there any alternatives for pyinstaller that work with Python 2.7?
I tried installing cx_Freeze version 5.1.1 but it gives me the following error:
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\win-10\\appdata\\local\\temp\\pip_build_win-10\\cx-Freeze\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\win-10\appdata\local\temp\pip-cn4sd_-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\win-10\appdata\local\temp\pip_build_win-10\cx-Freeze
Storing debug log for failure in C:\Users\win-10\pip\pip.log
when I install from wheel
cx_Freeze-5.1.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
Storing debug log for failure in C:\Users\win-10\pip\pip.log
setup.py
from sys import executable
from cx_Freeze import setup, Executable
setup(name='server', version='0.1', description='reverse shell server')