python - pyinstaller --version 未能创建进程

标签 python pyinstaller

我想使用 PyInstaller 创建 Windows 可执行文件。我使用 pip 以及正确版本的 pywin32 安装了 pyinstaller。

当我尝试通过键入 pyinstaller --version 来验证 pyinstaller 安装时, 我收到消息 failed to create a process.
我究竟做错了什么?在此先感谢您的帮助。

最佳答案

可能有两个原因:

1)python安装位置有空格。查看答案 https://stackoverflow.com/a/34546220/3559967

2)您重命名了python安装位置。查看答案 https://stackoverflow.com/a/17560177/3559967

关于python - pyinstaller --version 未能创建进程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30620172/

相关文章:

python - child 有多个外键给 parent ?

python - 在后端实现 facebook 类型更简单的 'like' 功能

python - pandas-gbq 目前是否支持参数化查询?

python - 在保留列表结构的同时删除列中的列表类型

PyInstaller 生成的可执行文件中的 Python SSL 导入错误

Python 3.5 + PyQt5 到独立 exe

python - Flask - 嵌套的 rest api - 使用 methodview 以外的东西或者我做了一个糟糕的设计?

python - 有没有办法在另一个 .py 文件中使用 PyInstaller?

linux - 从 fc17 移动到 fc18 时出现 EVP_aes_128_ctr 问题

python - Pyinstaller 应用程序正在访问 txt 文件,但不写入它们(在应用程序编译之前工作)