python GUI到EXE的图像和模块 [英] python GUI to EXE with image and modules

查看:47
本文介绍了python GUI到EXE的图像和模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 Python GUI 并尝试使用 py2exe 将其转换为 .exe.我正在使用以下模块wx,matplotlib,numpy,time,serial,random和.ico图像作为徽标.

I have created a Python GUI and trying to convert it to .exe with py2exe. i am using following modules wx,matplotlib,numpy,time,serial,random and a .ico image as logo.

我尝试创建setup.py文件,但是没有用.需要帮助来创建安装文件以生成我的GUI的.exe.

i tried create a setup.py file but it didn't work.need help creating setup file to generate .exe of my GUI.

推荐答案

如果您能提供一些有关未创建 .EXE 的原因的详细信息,将会很方便.如果您无法提供详细信息,请在Stackoverflow上仔细研究以下问题,它们可能会有所帮助:

It would be convenient if you could provide some details regarding why the .EXE is not being created. If you can't provide the details then please go through these questions on Stackoverflow, they maybe helpful:

如何将python包构建成exe

制作独立的python脚本.exe文件

将python代码编译成单个exe

转换将适用于所有/大多数版本的 Windows 的 .exe 的 Python 脚本

最好先参考官方文档

这篇关于python GUI到EXE的图像和模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆