*** copy extensions ***
copying C:\Python24\DLLs\bz2.pyd ->; C:\Python24\mywork\clock\dist
copying C:\Python24\DLLs\unicodedata.pyd ->; C:\Python24\mywork\clock\dist
copying C:\Python24\DLLs\zlib.pyd ->; C:\Python24\mywork\clock\dist
*** copy dlls ***
copying C:\Python24\w9xpopen.exe ->; C:\Python24\mywork\clock\dist
copying C:\WINDOWS\system32\python24.dll ->; C:\Python24\mywork\clock\dist
setting sys.winver for 'C:\Python24\mywork\clock\dist\python24.dll' to 'clock'
copying C:\WINDOWS\system32\MSVCR71.dll ->; C:\Python24\mywork\clock\dist
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
USER32.dll - C:\WINDOWS\system32\USER32.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
好像说的是这几个dll文件找不到。但我找过,有,而且路径也是对的。
python 2.4.1
py2exe 0.6
windows XP
C盘是NTFS的文件系统。小弟初学python,请教。
wolfg 回复于:2005-09-08 15:03:39
exe文件生成了没有?
墟里烟 回复于:2005-09-08 17:22:27
没有.
写了一个hello world,可以生成.但加上Tkinter之后就不行了.
好像只要加载模块就编译不成功。
dist目录里除了exe以外,别的都有。w9x*.exe也生成了。有python24.dll,libary.zip也生成了。*.pyc也有。
xichen 回复于:2005-09-08 20:35:30
估计是缺乏Tkinter的py2exe环境.
用--help命令看一下好吗/
我这里的机器上没有装py2exe,没办法帮你.
wolfg 回复于:2005-09-08 20:50:10
你的setup.py怎么写的,贴出来看看
墟里烟 回复于:2005-09-08 22:28:07
#hls.py
from Tkinter import *
import colorsys
def update(*args):
r,g,b = colorsys.hls_to_rgb(h.get()/255.0,l.get()/255.0,s.get()/255.0)
r,g,b = r*255,g*255,b*255
rgb.configure(text='RGB:(%d,%d,%d)' % (r,g,b))
c.configure(bg='#%02X%02X%02X' % (r,g,b))
root = Tk()
hue = Label(root,text='Hue')
hue.grid(row=0,column=0)
light = Label(root,text="Light")
light.grid(row=0,column=1)
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 还要 为什么 明明 root row column dist Python24 回复 |
注册
个人空间
