python - 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.
有人知道这是什么意思吗??谢谢。
解决方案
尝试这样做:
pyinstaller FismaPythonIDE.py --onefile -w
在FismaPythonIDE.py所在的同一目录中打开 cmd并使用此命令。
推荐阅读
- android - 领域:在列表属性包含特定元素的条件下进行查询
- entity-framework - 如何在 EFCore 中的自动递增表上显式设置 ID 属性
- javascript - 读取 CSV (JavaScript) 后数组的最大长度
- spring - 使用单个入站适配器的多个目录的 NFS 入站适配器配置
- sql - 在 Oracle SQL 中获得不明确定义的列
- machine-learning - sklearn - ValueError:无法将字符串转换为浮点数:'是'
- c# - 使用 Entity Framework 6 异常数据读取器的 C# 存储库模式 SQL 查询与指定实体不兼容
- mysql - Laravel:使用外键迁移
- python - 读取日志文件最后 5 分钟 python 2.6
- excel - 根据outlook中的某些标准粘贴一个值