My speculation is that you are using Windows. From the command line you can run PyInstaller in either of two ways:
a. The Kitchen sink method which is probably not what you want (includes a lot of files):
PyInstaller abc.py
This creates a subfolder named 'abc' in the 'dist' subfolder. You must create a zip file of the 'abc' subfolder. The zip file is what you distribute.
b. The one file method:
PyInstaller -F abc.py
This creates file 'abc.exe' in the 'dist' subfolder. The only file you have to distribute is 'abc.exe'.
------------------------
For more information see the 'Bundling to One Folder' section and the 'Bundling to One File' section in https://pyinstaller.readthedocs.io/en/st...-mode.html
Lewis
a. The Kitchen sink method which is probably not what you want (includes a lot of files):
PyInstaller abc.py
This creates a subfolder named 'abc' in the 'dist' subfolder. You must create a zip file of the 'abc' subfolder. The zip file is what you distribute.
b. The one file method:
PyInstaller -F abc.py
This creates file 'abc.exe' in the 'dist' subfolder. The only file you have to distribute is 'abc.exe'.
------------------------
For more information see the 'Bundling to One Folder' section and the 'Bundling to One File' section in https://pyinstaller.readthedocs.io/en/st...-mode.html
Lewis
To paraphrase: 'Throw out your dead' code. https://www.youtube.com/watch?v=grbSQ6O6kbs Forward to 1:00