Using pyinstaller to pack the sourses (for some evil purpose) sudo pip install pyinstaller pyinstaller main The executable file is in dist/main/main