pip install pyinstaller pyinstaller your_script.py pyinstaller --onefile --noconsole your_script.py pyinstaller --hidden-import module_name your_script.py pyinstaller --add-data "data_files;data_files" your_script.py