我想从 python 文件创建一个可执行文件,该 python 文件是为 Python 2.7 编写的。
我尝试过pyinstaller,但安装时出现错误。我猜它不再支持Python 2.7。
pyinstaller对于使用 Python 2.7 来说,有其他选择吗?
我尝试安装cx_Freeze5.1.1 版本,但出现以下错误:
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
当我从轮子安装时
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')
慕无忌1623718
相关分类