0
PS D:\> PIP install pyinstaller
PIP : The term 'PIP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ PIP install pyinstaller
+ ~~~
    + CategoryInfo          : ObjectNotFound: (PIP:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\>
4

2 回答 2

1

试试这个:

将脚本文件夹添加到 PATH

C:\Users....\AppData\Local\Programs\Python\Python39\Scripts

或者

C:\Python39\Scripts(取决于你如何安装 python 定位和添加 python/scripts 文件夹)

*** 无法编辑我之前的答案,所以我必须创建一个新答案。

于 2021-10-25T15:12:17.333 回答
1

试试pip3 install pyinstaller。当我在我的 MacBook 上时会发生这种情况。

于 2021-10-24T20:56:41.697 回答