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?
并不是,如果你打包的是单个文件可以直接发送,否则需要将打包后的整个目录发送过去。
建议用python3.4