nefunguje mi převod py2exe
když zadám do cmd
python setup.py py2exe
tak se to spustí a úplně na konci mi to hodí chybu
Traceback (most recent call last):
File "setup.py", line 3, in <module>
setup(windows=["zvuk.py"])
File "C:\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 223, in run
self._run()
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 290, in _run
self.create_binaries(py_files, extensions, dlls)
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 552, in create_
binaries
arcname, target.script)
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 0xfd in position 27: ordinal
not in range(128)
a setup.py vypadá takhle
from distutils.core import setup
import py2exe
setup(windows=["zvuk.py"])