Hello,
I'm sorry for my (probably) stupid question, I've a problem when i try to
compile some script with a PyQt gui using Pyinstaller.
These are the result of my attempt:
1-when i compile simple script (with no gui) everything is ok, the same if
i try with some simple example of wxPython script
2-when i'm using PyQt, if i write the code for the gui (so not *.ui file)
the classical executable won't work, it crashes at the opening. But if i
enter in the fileName subdirectory and i doucleclick on the fileName exec
file it will open the terminal and then the application runs. (in the image
attached you can see the file that doesn't work (red rect) and the one who
does (green rect))
3-using an external *.ui file for gui it doesn't work if i click on app
file and if i click on the other exec file (like before) i had an error:
'computer' can't find gui file.
The script runs if i call them from terminal and during compiling with
Pyinstaller i had no error in general (only some warning with complex
script, but i had the same result with the simple ones too, anche them
hasn't any warning or error).
This is the way i proceed with:
1) pyi-makespec namefile.py (in the terminal)
2) modify the spec file with
app = BUNDLE(exe,
name='metis.app',
icon=None,
bundle_identifier=None)
i find that somewhere in internet
3) pyinstaller --onefile --windowed namefile.spec (in the terminal)
Anyone could help me?
I hope my english is good enough to explain my problem, i will give you all
the information you need to help me, just ask me.
Good Night and Happy Easter,
Andrea
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.