[英]pip3 installed without pip
I have pip3 installed from when I installed Python3 through Homebrew.当我通过 Homebrew 安装 Python3 时,我已经安装了 pip3。 But now when I use pip3 to install things, I get the following message:
但是现在当我使用 pip3 安装东西时,我收到以下消息:
You are using pip version 10.0.1, however version 19.2.3 is available.
您使用的是 pip 版本 10.0.1,但版本 19.2.3 可用。 You should consider upgrading via the 'pip install --upgrade pip' command.
您应该考虑通过“pip install --upgrade pip”命令进行升级。
But when I use pip install --upgrade pip
, I get the following message:但是当我使用
pip install --upgrade pip
时,我收到以下消息:
-bash: pip: command not found
-bash:pip:找不到命令
I'm not sure what the precise terminology is, but should I be "linking" the pip command to pip3?我不确定确切的术语是什么,但我应该将 pip 命令“链接”到 pip3 吗?
Upgrade pip3 as follows to avoid the confusion between pip
and pip3
:如下升级 pip3 以避免混淆
pip
和pip3
:
python3 -m pip install --upgrade pip
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.