ChinaUnix.net
相关文章推荐:

pyinstaller使用

今天在网上瞎逛,看到一篇介绍pyinstaller的文章(现在才看到,太落伍了,那个汗~~):就是让你的python程序在没有装python的机器上运行。就从 其主页 上下了1.3的,按照说明操作。但 python ./Make.py之后的make一直报错,仔细看了错误说明: gcc -pthread -I/usr/include -I/usr/local/include/python2.5 -I../common -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer...

by linewer - Python文档中心 - 2009-02-22 22:32:53 阅读(1570) 回复(0)

相关讨论

我个人比较喜欢pyinstaller,因为不需要写代码。顺便做个广告,pyinstaller真不错。 以前一直用它打包普通的代码,都成功了。 我现在想打包wxpython的程序,就失败了: ------------------------------------------------------------ 操作系统: XP SP2 Python版本: Python2.6 wxPython版本: wxPython2.8-win32-unicode-2.8.10.1-py26 pyinstaller版本: pyinstaller-1.3 ---------------------------------------------...

by Mylib - Python - 2009-06-25 22:44:37 阅读(5243) 回复(6)

pyinstaller打包了一个在DOS下运行的一个应用,有时候运行正常,有时候提示错误,错误信息如下: No module named win32api 在运行的电脑上安装了pywin32-210.win32-py2.5.exe错误也是存在,大家有无碰到此情况。

by phpcool - Python - 2008-02-20 08:23:46 阅读(2898) 回复(3)

以下内容假定已安装好Python 2.4/2.5 一、下载并编译pyinstaller(只需做一次,以后可直接做第二步) 1.下载pyinstaller,现在的版本是1.3 (1)wget http://pyinstaller.hpcf.upr.edu/source/1.3/pyinstaller_1.3.tar.gz 2.解包进入源码目录 (1)tar zxv pyinstaller_1.3.tar.gz (2)cd pyinstaller-1.3/source/linux 3.编译源代码 (1)python Make.py 生成python的 .pyc文件 如无错误,则出现如下提示(只有一行): Now run "ma...

by cdkey51 - Python - 2008-12-09 13:37:25 阅读(11443) 回复(5)
by chestnut king - Python - 2008-01-17 18:03:30 阅读(4292) 回复(1)