I 've made an exe with Pyinstaller.
But when I try to run it, I get an error: error no 2: no such file or directory: 'betws.ui'
This is the name of my form ( 'betws.ui'), so I should also include it in my .spec file?
I tried this, after 'binaries=[],' I added:
So, how can I include my form?
But when I try to run it, I get an error: error no 2: no such file or directory: 'betws.ui'
This is the name of my form ( 'betws.ui'), so I should also include it in my .spec file?
I tried this, after 'binaries=[],' I added:
datas= [('betws.ui','gui')],But I get the same error when I try to run it.
So, how can I include my form?