gpt4 book ai didi

python - PyInstaller 不工作 Python 3.5

转载 作者:行者123 更新时间:2023-11-28 19:10:58 25 4
gpt4 key购买 nike

我想把 myProgram.py 变成一个可执行程序。当我运行时:pyinstaller --onefile --windowed myProgram.py 我有这个错误:

OSError:找不到 Python 库:.Python、libpython3.5.dylib、Python这意味着您的 Python 安装没有附带正确的库文件。这通常是由于缺少开发包或 Python 安装的构建参数不合适造成的。

我该如何解决这个问题?

最佳答案

尝试完全卸载 Python,然后重新安装。编程可能非常复杂,但有时就是这么简单。

关于python - PyInstaller 不工作 Python 3.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40257045/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com