首页 > 解决方案 > pyinstaller 安装成功后不识别为内部或外部命令错误

问题描述

在我使用它时发生了一个 pyinstaller 错误。

我继续 cmd(命令提示符)并输入:pip install pyinstaller。

它起作用了,但是当我转到文件的位置并使用 pyinstaller 时:我输入了这个:

C:\users\[___]\PycharmProjects\FismaPythonIDE.py pyinstaller --onefile -w FismaPythonIDE.py

我按了“输入”,但它说:

'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.

有人知道这是什么意思吗??谢谢。

标签: pythonpathpyinstallercommand-prompt

解决方案


尝试这样做:

pyinstaller FismaPythonIDE.py --onefile -w

在FismaPythonIDE.py所在的同一目录中打开 cmd并使用此命令。


推荐阅读