dan*_*ugo 3 python linux pip python-3.x
$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip
Run Code Online (Sandbox Code Playgroud)
我的 pip 和 pip3 都安装在 python 3 中
pip -V
pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
pip3 -V
pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
Run Code Online (Sandbox Code Playgroud)
现在 我 无法 安装 pip ...它 显示 上述 错误
小智 11
如果你安装了 python(python2),那么你可以使用以下命令来安装 pip(for python2)。
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python get-pip.py
Run Code Online (Sandbox Code Playgroud)
现在您可以检查 pip2
pip2 --version
Run Code Online (Sandbox Code Playgroud)
我希望这些会帮助你
| 归档时间: |
|
| 查看次数: |
27959 次 |
| 最近记录: |