Hoseong Jeon
Hoseong Jeon

Reputation: 1350

exe file made by pyinstaller has delay on other computer

I'm using Python 3.5, and I made an exe flle with pyinstaller.

I made exe file successfully, and it runs well on my computer.

But, when I run it on other computer, it has delay.

I made exe file by coding 'pyinstaller --onefile --noconsole THEFILE.py'

What's the problem?

Upvotes: 1

Views: 615

Answers (1)

Filnor
Filnor

Reputation: 1288

I assume this delay (according to the OP from of 3 to 8 seconds slower) comes from the HDD which is (due to the storage technology that it uses) slower than an SSD. If you can, I would suggest either:

  1. Optimize your code to be less disk-incriminating
  2. Upgrade from a HDD to an SSD

But keep in mind that both options require some actions, so consider first if it's really worth or if you can live with that performance.

Upvotes: 1

Related Questions