Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Peter Heitzer" Newsgroups: de.comp.lang.python Subject: Re: pyinstaller funktioniert nicht mehr Date: 18 Nov 2021 11:21:02 GMT Lines: 26 Message-ID: References: X-Trace: individual.net uJ57u9X17X6yuYGI3jkHqQ6xWnQWnQJ1K/BsP/FEhac2w6JXGR1GW2rpKV X-Orig-Path: not-for-mail Cancel-Lock: sha1:Mli0B7qXtf9FuUqAB06zow/qoug= User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-13-amd64 (x86_64)) Xref: csiph.com de.comp.lang.python:5770 Ulli Horlacher wrote: >Arbeitet hier jemand mit pyinstaller? >Vor 5 Jahren hatte ich noch unter Windows 7 mit pyinstaller Python2 >Programme compiliert. Das hatte gut funktioniert, es ist ein stand-alone >exe herausgekommen. >Ich hab das nun mit Python3 und Windows 10 wieder probiert. Da >funktioniert das nicht mehr. Ich bekomme: >P:\W10>pyinstaller.exe --onefile fextasy.py >140 INFO: PyInstaller: 4.7 >140 INFO: Python: 3.10.0 >171 INFO: Platform: Windows-10-10.0.19041-SP0 >171 INFO: wrote P:\W10\fextasy.spec >171 INFO: UPX is not available. Vielleicht liegt es daran. Wie soll pyinstaller eine Exe erstellen, wenn der Packer nicht vorhanden ist. In meiner Windows 10 VM hat allerdings ein einfaches Skript mit etwas Tk GUI funktioniert. Probier mal ein triviales Skript mit print('Hello') aus. -- Dipl.-Inform(FH) Peter Heitzer, peter.heitzer@rz.uni-regensburg.de