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:>
试试这个:
将scripts文件夹添加到PATH
C: 用户… AppData 本地Python脚本 Python39 程序
或
C:Python39Scripts(取决于你如何安装python找到并添加python/Scripts文件夹)
***不能编辑我以前的答案,所以我必须创建一个新的。
尝试pip3 install pyinstaller
。当我在我的MacBook上时,它会发生。