+ 1

Python - PyInstaller and QT_PySide2 ui files

Hi everyone. I'm currently in the stage of learning how to package and distribute my Python app. I've been having a bear of a time using PyInstaller and linking appropriate data files (e.g. QT .ui files). Nothing seems to be working. I am using the .spec file PyInstaller creates and tried various combinations. At the end, nothing is working. I've tried both on windows 10 (Python version 3.5, 3.6) as well as Mac OS X. Any suggestions?

10th Sep 2018, 6:21 PM
Alexander Perez
Alexander Perez - avatar
5 Answers
0
I'm also trying to make a simple exe right now with no success ...
10th Sep 2018, 8:13 PM
HonFu
HonFu - avatar
0
at least we are not alone. seems to be a common issue.
10th Sep 2018, 8:16 PM
Alexander Perez
Alexander Perez - avatar
0
Maybe that's what you get if you compile something that doesn't want to be compiled? ;-)
10th Sep 2018, 8:55 PM
HonFu
HonFu - avatar
0
ha! i guess so. However, somethjng forsnt sound right considering PyInstaller's spec file offers a great deal of flexibility to include data files. perhaps its in issue with the .ui file considering it is not a standard expected file type (such as .jpg, .png, etc). something is not right.
10th Sep 2018, 9:13 PM
Alexander Perez
Alexander Perez - avatar
0
Let's hope someone here knows a solution.
10th Sep 2018, 9:18 PM
HonFu
HonFu - avatar