Problem solved with the new pyinstaller 5.1 version :) Le dimanche 8 mai 2022 à 21:43:04 UTC+2, Regis CARLES a écrit :
> Hi all, > > I use Ubuntu 22.04, pyinstaller 5.0.1, python 3.10 and wxPython 4.1.2a1. > > My software runs well. > > But I can't build the distribution package, even if I use "hidden-import". > I don't have any building error, but the various libraries are not > generated at all, and my software can't run. > > I think it is related to the fact I can't run "--windowed" option, because > of error message : > > """"" > > redge@redge-VirtualBox:~/Developpement/GestConsoPhoenix4.1.x--1.3.9$ > source env4.1.x-py310/bin/activate > (env4.1.x-py310) > redge@redge-VirtualBox:~/Developpement/GestConsoPhoenix4.1.x--1.3.9$ > *pyinstaller > -w --distpath ./Dist myprogram.spec* > 686 INFO: PyInstaller: 5.0.1 > 686 INFO: Python: 3.10.4 > 687 INFO: Platform: Linux-5.15.0-27-generic-x86_64-with-glibc2.35 > option(s) not allowed: > --console/--nowindowed/--windowed/--noconsole > *makespec options not valid when a .spec file is given* > (env4.1.x-py310) > redge@redge-VirtualBox:~/Developpement/GestConsoPhoenix4.1.x--1.3.9$ > > """" > > But without the windowed option, pyinstaller does not generate correctly : > no librarie is generated (neither wxPython, nor matplotlib, and others like > reportlab/openpyxl/xlsxwriter). > > Is there some kind of incompatibility with the various programs I use, or > another reason ? > > Thanks for reading and any help. > > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/634526e7-ebb2-46b5-b4b6-f1670db3ed3an%40googlegroups.com.