Pyinstaller 安装成功但不工作

时间:2021-06-18 15:09:37

标签: python pip pyinstaller

当我尝试编写 pyinstaller 'filename' 时,它给了我一个错误

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

无论我尝试什么

python -m pyinstaller 'filename'
`No module named pyinstaller`

请告诉解决方案(还有,pyinstaller安装成功)

1 个答案:

答案 0 :(得分:0)

只需修改您的 PATH 环境以包含

<块引用>

C:\Users\username\AppData\Local\Programs\Python\Python36-32\Scripts>

如果您想知道如何设置或更改 PATH 系统变量,您可以访问此link