问题描述
我一直在尝试使用cx_Freeze将用python编写的脚本编译为exe。但是,当我通过终端运行“ build”命令时,出现错误消息“ ImportError:没有名为'cx_Freeze'的模块”,我正在运行Kali 2020.3,并且已经安装了cx_Freeze。你能帮我解决这个问题吗?
提前谢谢。
from cx_freeze import setupwriter,Executable
include_files = ['autorun.inf']
base = None
if sys.platform == "win32":
base = "win32gui"
setup(name="grabber",version="0.1",description="pass grab",options={'build_exe': {'include_files': include_files}},excutables=[Executable("password_grabber.py",base=base)]) ```
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)