简体   繁体   English

我尝试安装 pyinstaller 并得到了这个

[英]i tried to install pyinstaller and got this

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:\>

Try pip3 install.尝试 pip3 安装。 It happens when I'm on my MacBook.当我在我的 MacBook 上时会发生这种情况。

Try this instead:试试这个:

Add the scripts folder to PATH将脚本文件夹添加到 PATH

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

or或者

C:\\Python39\\Scripts (depending on how you have installed python locate and add python/scripts folder) C:\\Python39\\Scripts(取决于你如何安装 python 定位并添加 python/scripts 文件夹)

*** Couldn't Edit my previous answer so i had to create a new one. *** 无法编辑我以前的答案,所以我不得不创建一个新答案。

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

相关问题 我尝试使用 python 3.7.2 安装“pyinstaller” - I tried to install "pyinstaller" with python 3.7.2 当我尝试安装 sacrebleu 时,出现安装错误 - When I tried to install sacrebleu, I got an installation error 我尝试使用 pip 安装软件包,但出现此错误 - I tried to install packages using pip but i got this error 当我尝试在 Python 3 中安装“v4l2capture”包时收到一条致命错误消息 - I got a fatal error message when I tried to install the "v4l2capture" package in Python 3 当我尝试在我的 cmd 中安装 pandas 时,我收到了他的错误 - when i tried to install pandas in my cmd i got his error 我尝试通过 "pip install "uvicorn[standard]" " 安装 uvicorn,得到以下错误: - I tried installing uvicorn through "pip install "uvicorn[standard]" ", got the following error: 我尝试通过pip install安装elasticsearch helper并收到以下错误。先决条件是什么? - I tried installing elasticsearch helpers through pip install and got the following error.What are the prerequisites? 尝试使用“pyinstaller”<scriptname.py> ”并得到“TypeError:需要一个 integer(获取类型字节)”</scriptname.py> - Tried to use “pyinstaller <scriptname.py>” and got “TypeError: an integer is required (got type bytes)” 如何安装 pyinstaller? - How can I install pyinstaller? 我无法安装 Pyinstaller - I can't install Pyinstaller
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM