Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99035

Re: pyinstaller and Python 3.5 on Windows?

From Ulli Horlacher <framstag@rus.uni-stuttgart.de>
Newsgroups comp.lang.python
Subject Re: pyinstaller and Python 3.5 on Windows?
Date 2015-11-19 07:50 +0000
Organization University of Stuttgart, FRG
Message-ID <n2juvt$14p$1@news2.informatik.uni-stuttgart.de> (permalink)
References <n2iv3p$o1n$2@news2.informatik.uni-stuttgart.de> <n2js4r$1kq$1@dont-email.me>

Show all headers | View raw


Christian Gollwitzer <auriocus@gmx.de> wrote:
> Am 18.11.15 um 23:46 schrieb Ulli Horlacher:
> > To run my Python programs on other Windows systems without a Python
> > installation I must create standalone Windows executables.
> >
> > pyinstaller runs without any problems with Python 2.7.10 on Windows 7, but
> > with Python 3.5 I get:
> >  [stack trace]
> 
> Are you using the newest version?

Yes. Yesterday installed.


> According to http://www.pyinstaller.org/ they claim support for Python3.

Therefore my try :-)


> Does a hello world script work?

No. 
My test-program I tried to compile was:

#!/usr/bin/python

from tkinter import Tk,filedialog

askopenfilename = filedialog.askopenfilename

Tk().withdraw()
file = filedialog.askopenfilename()
print('File selected: "%s"\n' % file)


It runs directly, but I cannot compile it with pyinstaller.


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher@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/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-18 22:46 +0000
  Re: pyinstaller and Python 3.5 on Windows? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-11-19 01:13 +0100
  Re: pyinstaller and Python 3.5 on Windows? Christian Gollwitzer <auriocus@gmx.de> - 2015-11-19 08:04 +0100
    Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 07:50 +0000
  Re: pyinstaller and Python 3.5 on Windows? Kevin Walzer <kw@codebykevin.com> - 2015-11-19 06:41 -0500
    Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 12:25 +0000
      Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 13:32 +0000

csiph-web