Well --onefile can slow things down a little because it needs to unpack itself but not by that much. Try switching temporarily to --onedir and see if/how much difference it makes. If it’s a big difference then I can think of two possibilities:
- I/O speed is the bottleneck. Raspberry Pis use and SD card instead of a built in SSD I believe? - You have some antiviral software on your Pi which will insist on sniffing everything in a --onefile build every time it unpacks (which is every time it runs). Number 2 seems unlikely for Linux but it’s very common on Windows and macOS. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/3f5997f1-5c6f-4cdc-a7a9-11a4b60a9f7en%40googlegroups.com.