【问题标题】:pyinstaller is not recognized as an internal or external command error after successful installationpyinstaller 安装成功后不识别为内部或外部命令错误
【发布时间】:2021-08-19 14:32:48
【问题描述】:

在我使用 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.

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

【问题讨论】:

    标签: python path pyinstaller command-prompt


    【解决方案1】:

    尝试这样做:

    pyinstaller FismaPythonIDE.py --onefile -w
    

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

    【讨论】:

      猜你喜欢
      • 2019-10-12
      • 2018-02-07
      • 2018-08-12
      • 2018-11-01
      • 1970-01-01
      • 2017-08-22
      • 2016-09-21
      • 2021-09-15
      • 2021-02-08
      相关资源
      最近更新 更多