search

Home  >  Q&A  >  body text

Python pyinstaller fails to run on other computers after packaging

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?

某草草某草草2768 days ago1159

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-24 11:37:04

    No, if you package a single file, you can send it directly, otherwise you need to send the entire packaged directory.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-24 11:37:04

    It is recommended to use python3.4

    reply
    0
  • Cancelreply