【问题标题】:I'm not able to convert my python file into a exe using pyinstaller我无法使用 pyinstaller 将我的 python 文件转换为 exe
【发布时间】:2020-02-27 03:46:09
【问题描述】:

The Error Message

每次我尝试使用 pyinstaller 将 python 文件转换为 exe 文件时都会收到此错误。 我使用的命令是 - pyinstaller filename.py

【问题讨论】:

  • 我相信这是 pyinstaller 和 python 3.8 的一个已知问题。通过 pip 直接安装应该会有所帮助:pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

标签: python python-3.x windows exe pyinstaller


【解决方案1】:

在 python 版本 3.8 中,pyinstaller 不起作用。如果通过 pip 直接安装没有帮助,请尝试降级到 python 版本 3.7。

【讨论】:

    猜你喜欢
    • 2020-12-05
    • 1970-01-01
    • 1970-01-01
    • 2016-08-03
    • 1970-01-01
    • 2023-04-06
    • 1970-01-01
    • 1970-01-01
    • 2023-01-18
    相关资源
    最近更新 更多