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


Groups > de.comp.lang.python > #5776

Re: pyinstaller funktioniert nicht mehr

From Ulli Horlacher <framstag@rus.uni-stuttgart.de>
Newsgroups de.comp.lang.python
Subject Re: pyinstaller funktioniert nicht mehr
Date 2021-11-18 16:08 +0000
Organization University of Stuttgart, FRG
Message-ID <sn5tpv$7hr$1@news2.informatik.uni-stuttgart.de> (permalink)
References <sn5819$25j$1@news2.informatik.uni-stuttgart.de> <ivmr8uF164sU1@mid.individual.net>

Show all headers | View raw


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.

UPX ist optional sagt:

https://pyinstaller.readthedocs.io/en/stable/usage.html#using-upx

PyInstaller looks for UPX on the execution path or the path specified with
the --upx-dir option. If UPX exists, PyInstaller applies it to the final
executable, unless the --noupx option was given. UPX has been used with
PyInstaller output often, usually with no problems.

ABER: inzwischen funktioniert pyinstaller wieder ohne Fehlermeldung:


P:\W10>pyinstaller.exe --onefile --icon fex.ico fextasy.py
124 INFO: PyInstaller: 4.7
124 INFO: Python: 3.10.0
140 INFO: Platform: Windows-10-10.0.19041-SP0
140 INFO: wrote P:\W10\fextasy.spec
140 INFO: UPX is not available.
156 INFO: Extending PYTHONPATH with paths
['P:\\W10']
484 INFO: checking Analysis
625 INFO: checking PYZ
656 INFO: checking PKG
750 INFO: Bootloader C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
750 INFO: checking EXE
781 INFO: Rebuilding EXE-00.toc because fextasy.exe missing
781 INFO: Building EXE from EXE-00.toc
781 INFO: Copying bootloader EXE to P:\W10\dist\fextasy.exe
890 INFO: Copying icon to EXE
890 INFO: Copying icons from ['fex.ico']
890 INFO: Writing RT_GROUP_ICON 0 resource with 20 bytes
890 INFO: Writing RT_ICON 1 resource with 18488 bytes
921 INFO: Copying 0 resources to EXE
921 INFO: Emedding manifest in EXE
921 INFO: Updating manifest in P:\W10\dist\fextasy.exe
1046 INFO: Updating resource type 24 name 1 language 0
1077 INFO: Appending PKG archive to EXE
3484 INFO: Building EXE from EXE-00.toc completed successfully.


Typisch Windoof eben: mal tuts, dann wieder nicht, voellig erratisch :-(


Allerdings wird das Programm-Icon nur im Windows File Manager angezeigt
und nicht auf dem Desktop:

https://fex.flupp.org/fop/3ElTOtEh/X-20211118164905.png

Was geht da schon wieder schief?


-- 
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 | NextPrevious in thread | Next in thread | Find similar


Thread

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