Groups
Groups
Sign in
Groups
Groups
h3c-ouc
Conversations
About
Send feedback
Help
将python程序转换成可执行文件
10 views
Skip to first unread message
jiakun huang
unread,
Mar 10, 2012, 3:31:55 AM
3/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
昨天我们试着用pyinstaller将上网客户端GUI版的python文件转换成了可执行文件,同时生成了一些后缀名为so的文件,可能类似windows下的动态库.dll文件,这样运行程序就独立于python,只依赖生成的那些.so文件,即用户不安装python也可以运行客户端。但是运行以后没有达到预期的效果,点连接却显示“用户已登录”,不知道这个可执行文件怎么运行的,找不到问题所在。
Flily Hsu
unread,
Mar 10, 2012, 10:04:52 AM
3/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
记住,大事不决问Google。
https://www.google.com/#hl=en&newwindow=1&sclient=psy-ab&q=compile+python+to+exe&oq=compile+python+to+exe&aq=f&aqi=&aql=&gs_sm=3&gs_upl=4892l16000l0l16215l26l22l0l0l0l0l1547l8778l3-1.0.1.1.3.2l8l0&gs_l=hp.3...4892l16000l0l16215l26l22l0l0l0l0l1547l8778l3-1j0j1j1j3j2l8l0&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=283a2b6297781e0f&biw=1280&bih=675
http://www.py2exe.org/
jiakun huang
unread,
Mar 10, 2012, 11:29:45 PM
3/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
呵呵,发邮件之前已经搜索过了。py2exe只支持windows,而pyinstaler还支持Linux。
Flily Hsu
unread,
Mar 11, 2012, 12:20:25 AM
3/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
不过,图形界面的话,不建议使用一些跨平台的方案
jiakun huang
unread,
Mar 11, 2012, 6:16:42 AM
3/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
嗯,我们就是考虑如何能让用户在不安装wxpython模块的情况下也能用客户端。
straw
unread,
Mar 11, 2012, 8:54:54 AM
3/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
可是py2exe只能在windows平台下使用,没有支持linux平台的。
On 六, 2012-03-10 at 23:04 +0800, Flily Hsu wrote:
> 记住,大事不决问Google。
>
>
>
https://www.google.com/#hl=en&newwindow=1&sclient=psy-ab&q=compile
> +python+to+exe&oq=compile+python+to
Flily Hsu
unread,
Mar 13, 2012, 7:27:35 AM
3/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h3c...@googlegroups.com
Linux我觉得不要紧,安装之前检查一下就好了。
印象中Gnome是要用到Python的,应该都带有
Reply all
Reply to author
Forward
0 new messages