handling of non-ASCII filenames?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Wed Nov 18 17:37:59 EST 2015


Chris Angelico <rosuav at gmail.com> wrote:

> >> If you can use Python 3
> >
> > I cannot use it, because the Python compiler pyinstaller does not work
> > with it on Windows:
> >
> > S:\python>pyinstaller.exe --onefile tk.py
> > Traceback (most recent call last):
> >   File "C:\Python35\Scripts\pyinstaller-script.py", line 9, in <module>
> >     load_entry_point('PyInstaller==3.0', 'console_scripts', 'pyinstaller')()
> >   File "c:\python35\lib\site-packages\pkg_resources\__init__.py", line 558, in l
> > oad_entry_point
(...)
> >
> > With python 2.7, pyinstaller runs without problems.
> 
> Hmm. That's a separate consideration. If you take a step back and ask
> the broader question "How can I package my Python 3.5 script into a
> .exe file?", I'm pretty sure there is an answer; maybe pyinstaller
> isn't the way to do it. (I'm not an expert on exe file production.)

pyinstaller works without any problems with Python 2.7.10


> Does your script run happily in 3.5 if it isn't packaged into an exe?

Yes.


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher at tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/



More information about the Python-list mailing list