[Python-de] Re: pyinstaller funktioniert nicht mehr
Ulli Horlacher <[email protected]>
| Newsgroups | gmane.comp.python.general.german |
|---|---|
| Organization | University of Stuttgart, FRG |
| Message-ID | <[email protected]> |
Peter Heitzer <[email protected]> wrote: > >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. Was ist das? Wo bekomme ich das her? > In meiner Windows 10 VM hat allerdings ein einfaches Skript mit etwas > Tk GUI funktioniert. > Probier mal ein triviales Skript mit print('Hello') aus. Ohne Tk funktionierts. Ich kann es dann allerdings nur genau einmal starten: P:\>type argv.py #!/usr/bin/python3 import sys for a in sys.argv: print("["+a+"]") P:\W10\dist>dir Volume in drive P is Shared Folders Volume Serial Number is 0000-0034 Directory of P:\W10\dist 18 Nov 2021 11:38 <DIR> . 18 Nov 2021 11:38 <DIR> .. 09 Oct 2017 13:30 6.775.867 fexit.exe 18 Nov 2021 10:36 251.392 fextasy.exe 18 Nov 2021 11:27 311.296 tcpbm.exe 18 Nov 2021 11:38 6.929.235 argv.exe 4 File(s) 14.268.132 bytes 2 Dir(s) 332.320.088.064 bytes free P:\W10\dist>argv a b [dist\argv] [a] [b] P:\W10\dist>argv a b The process cannot access the file because it is being used by another process. P:\W10\dist>argv 1 2 zzz The process cannot access the file because it is being used by another process. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: [email protected] Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ _______________________________________________ python-de Mailingliste -- [email protected] Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected] https://mail.python.org/mailman3/lists/python-de.python.org/ Mitgliedsadresse: [email protected]