简体   繁体   English

从命令提示符执行“Pyinstaller”时出现问题

[英]Problem executing “Pyinstaller” from command prompt

I am using cmd to install pyinstaller , the installation went fine but the moment I tried to turn a .py file to .exe an error appeared:我正在使用 cmd 安装pyinstaller ,安装很顺利,但是当我尝试将.py文件转换为.exe时出现错误:

"pyinstaller" is not recognized as an internal or external command,
executable program or batch file.

This has never happened before.Thanks for helping.这以前从未发生过。感谢您的帮助。

Try, python -m pyinstaller yourPythonFile.py试试, python -m pyinstaller yourPythonFile.py

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Pyinstaller 打开命令提示符 - Pyinstaller opens command prompt Python:从python脚本的Windows命令提示符中执行windows命令 - Python: Executing the windows command in windows command prompt from python script pyinstaller 生成的 exe 文件执行有问题 - exe file made by pyinstaller has problem executing pyinstaller:使用 --key 命令时出现问题 - pyinstaller: problem when using --key command Python在命令提示符下执行命令(taskkill) - Python executing commands in the command prompt (taskkill) 通过pyinstaller在C#上执行python脚本的问题 - Problem of executing python script on C# through pyinstaller Python 命令提示符在执行第一个命令之前执行了第二个命令 - Python command prompt executed the second command before executing the first command 在 python 脚本中执行命令时出现问题 - Problem with executing command in python script 从命令提示符执行 .py 文件引发“ImportError:没有名为 geopandas 的模块”- 脚本在 Spyder 中工作(使用 anaconda) - Executing .py file from Command Prompt raises “ImportError: no module named geopandas”- Script works in Spyder (using anaconda) 使用Python在命令提示符中执行一些简单的命令 - Executing some simple command in Command prompt using Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM