ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.57k stars 389 forks source link

Converting Source Code to Exe using Pyinstaller #1015

Closed darsh5921 closed 1 year ago

darsh5921 commented 1 year ago

Filter Mode

Auto-Smart Mode

Select the Problem

Other (add details below)

(Optional) If 'Other', Enter Very Short Description

Cannot convert python files to exe

Spammer Example / Sample

While using pyinstaller to exe the exe generates errors of file dependencies of spamdomains list.txt not found which is not generated automatically in the folder of resources and only empty folders are generated.

Screenshot_20230212_062909

Also after manually putting these files in resource folder there is still another error related to config file

Screenshot_20230218_113721

@thiojoe can you give the exact "pyinstaller" command with all the add-data files you used to convert python to exe , I need to make exe for a project please reply fast if possible

Video / Post Link

No response

(Optional) Additional Info / Context

No response

darsh5921 commented 1 year ago

I have Found the solution

Firecul commented 1 year ago

I have Found the solution

Could you post your solution here so anyone that may have the same problem might be able to learn from it?