Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5771
| From | Ulli Horlacher <framstag@rus.uni-stuttgart.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: pyinstaller funktioniert nicht mehr |
| Date | 2021-11-18 12:00 +0000 |
| Organization | University of Stuttgart, FRG |
| Message-ID | <sn5f9f$42h$1@news2.informatik.uni-stuttgart.de> (permalink) |
| References | <sn5819$25j$1@news2.informatik.uni-stuttgart.de> <ivmr8uF164sU1@mid.individual.net> |
Peter Heitzer <peter.heitzer@rz.uni-regensburg.de> 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: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
pyinstaller funktioniert nicht mehr Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-11-18 09:56 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-18 11:21 +0000
Re: pyinstaller funktioniert nicht mehr Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-11-18 12:00 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-18 12:32 +0000
Re: pyinstaller funktioniert nicht mehr Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-11-18 12:53 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-18 13:41 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-18 14:04 +0000
Re: pyinstaller funktioniert nicht mehr Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-11-18 16:08 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-18 16:45 +0000
Re: pyinstaller funktioniert nicht mehr Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-11-18 18:12 +0000
Re: pyinstaller funktioniert nicht mehr "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2021-11-19 07:41 +0000
[Python-de] Re: pyinstaller funktioniert nicht mehr Hartmut Goebel <h.goebel@goebel-consult.de> - 2022-02-12 15:17 +0100
csiph-web