在Ubuntu 16.04上安装pip [英] Installing pip on ubuntu 16.04

查看:381
本文介绍了在Ubuntu 16.04上安装pip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为python3安装pip.我为此使用了以下命令:

I was installing pip for python3. I used the following command for that:

sudo apt-get install python3-pip

但是在安装后仍然显示pip没有安装.

But after installation it still says pip is not installed.

我已经安装了python 3.5.2.

推荐答案

python3-pip软件包为Python 3(名为pip3)安装了pip. Plain pip是Python 2的pip,由python-pip软件包安装.

The python3-pip package installs pip for Python 3, which is named pip3. Plain pip is pip for Python 2, which is installed by the python-pip package.

这篇关于在Ubuntu 16.04上安装pip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆