OS:win7 64-bit
Python:3.5.3 32-bit
pyinstaller:3.2.1
Package a program written in pyqt5 using the -Fw and -w instructions respectively. The current computer and another computer with python installed run normally.
But when sent to others, both files showed that python35.dll failed to load, but the specific paths were different.
Error loading python Dll,
error code 127
Could it be that the packaged exe file can only be run in an environment where python is installed?
How to rescue?
No, if you package a single file, you can send it directly, otherwise you need to send the entire packaged directory.
It is recommended to use python3.4