升级PIP升级后安装后的PIP更新错误我每次使用PIP时都不能使用它是相同的错误,并且Sudo不能用于安装
今天我安装了一个带有python的PIP的模块 在终端中,它说可以使用新版本的PIP警告,您可以通过使用 PIP-升级
它成功安装了 在那之后 每当我尝试安装任何模块时,它都会说pip:术语“ pip”术语不被识别为cmdlet,函数,脚本文件或可操作程序的名称。检查名称的拼写,或者如果包括路径,请验证该路径是否正确并重试。
我在这里和那里搜索,人们说使用sudo python -m pip -uninstall pip&& sudo apt python - install pip -reinstall
在其中说同样的话,但此次
'sudo' : The term 'sudo' 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
包括,它验证路径是正确的,然后重试。
today I install a module with pip for python
in the terminal it says warning new version of pip is available u can install it by usingpip --upgrade
And it successfully installed but
after that
whenever I try to install any module it says 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.
and i searched here and there and people say that use sudo python -m pip --uninstall pip && sudo apt python -install pip --reinstall
where it says the same thing but this time its
'sudo' : The term 'sudo' 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看来您需要在路径中添加Python和PIP(指令)。
另外,正如John Gordon指出的那样,Sudo是Unix/Linux命令,您似乎正在使用Windows。
It looks like you need to add Python and PIP to your path (Instructions).
Also as John Gordon pointed out, sudo is a Unix/Linux command and you appear to be using Windows.
Python-sudo是一个模块化,可以执行任何子过程命令作为另一个用户。
我们可以通过使用PIP安装Sudo安装它,
我们知道Sudo是Linux命令,但我们可以在Python中使用它。
Python-sudo is a Modular to execute any subprocess commands as another user.
We can install it by using pip install sudo
We know that sudo is a Linux command but we can use it in python.