2007年07月30日 星期一 12:15
py2exe打包目录上有中文会失败,好像只能处理ASCII路径。
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 788, in
build_e
xecutable
add_resource(unicode(exe_path), script_bytes, u"PYTHONSCRIPT", 1, True)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 17:
ordinal
not in range(128)
Zeuux © 2025
京ICP备05028076号