Pyinstaller 不工作 Python 3.5

Pyinstaller not working Python 3.5

我正在尝试在 python 文件上使用 Pyinstaller

Pyinstaller.exe --onefile E:\Ava-Bot\AVA-Bot.py

但是有一个错误

failed to create process.

注意:我正在研究 Windows 8.1

问题出在pyinstaller安装

我是通过pip install安装它的,但它不起作用

尝试 easy_install 并且有效

我在python下的脚本文件夹中使用了easy_install pyinstaller。发生了一些事情,因为现在当我 运行 pyinstaller 它显示了一些不同于典型的 "the program does not exist".

的东西

然后我运行这个命令window:

pyinstaller test.py

最后显示错误,类似于pypiwin32=322。我也必须用 pip 安装它,但我现在不记得我是怎么做到的。但我 google 做到了。必须是 322 很难过。

然后我不得不安装,它不适用于最新版本:

pip install altgraph==0.15

even tough 我是新手,花了2个小时搞定了,我觉得我分享一下。我的基本策略是最后阅读错误,然后 google 错误消息。然后就成功了。