I'm new in python and pyinstaller.

Now, I am packing a ptqt5 application with PaddlePaddle.

PaddlePaddle is some kind of Deep Learning framework like tensorflow and 
Pytorch.

After package, the application start very slow.

I print the datetime at each line and find that "import paddlepaddle" takes 
more the 30 seconds.

"import paddlepaddle" is not the first line, there is os, sys and other 
package at first and they can import really fast.

But when I run the python script, it does not take this time.

I am using venv and onedir mode.

How can I deal with this problem?

Thanks for any suggestions or guide directions.

I think I did not using one-file. The program was package into a directory. 
The directory is about 500M and the exe file is 12M. 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/680870e0-421f-415a-819c-4c3e97d7b7b3n%40googlegroups.com.

Reply via email to