Pyinstaller “Failed to execute script pyi_rth_pkgres” and missing packages

后端 未结 8 597
旧时难觅i
旧时难觅i 2020-11-29 03:54

This is my first time posting a question here as most of my questions have already been answered by someone else! I am working on a GUI application in python and am attempt

8条回答
  •  -上瘾入骨i
    2020-11-29 04:26

    Extending Vikash Kumar's answer, build the application by adding the --hidden-import argument to the command.

    For example, running the command given below worked for me.

    "pyinstaller --hidden-import=pkg_resources.py2_warn example.py"

    update: added missing "="

提交回复
热议问题