In my case, I use auto-py-to-exe to convert the py to exe. On my PC, it runs in 3 seconds, but on my girlfriend's PC, it takes more than 20. I have the exe shared over the network. Now, I put the .exe, the database, and the icons on a Raspberry Pi, also shared over the network, and the execution times are also high (more than 20 seconds). I asked chatgpt what could be done to improve the times, and this is what happened to me.
# In the auto-py-to-exe interface:
- [X] Console Window: "Based on TCL"
- [X] Additional Files: Only those strictly necessary
- [X] Advanced > --exclude-module:
"matplotlib, numpy, pandas, scipy, sqlalchemy, PyQt5"
- [X] Compression: Use UPX (download from https://upx.github.io/)
Some me. Could you please tell me if I need to change anything else or try something else? Thanks