pip 不包含在 Python3 中

Mal*_*umi 5 python3 software-installation pip

我有 14.04。我在 pip readthedocs 上读到 Python 3 默认包含 pip。当我在 Windows 上安装 Python 3 时,它就在那里,但我在 Ubuntu 上找不到 pip 命令。我检查了 dpkg,它不在那里。我还查看了 Ubuntu Python 3 端口页面,但没有看到任何内容。如果 pip 在这里,我在哪里可以找到它并让它工作?如果它不在这里,为什么我应该知道默认 Python 3 中还有什么遗漏了,这样我就不会浪费时间去寻找它了?

kar*_*rel 5

打开终端并输入:

sudo apt-get install python3-pip  
Run Code Online (Sandbox Code Playgroud)

python3-pip 是替代 Python 包安装程序的 Python 3 版本。该程序是从终端运行的:pip3

另一个与 Windows 中 Python 的默认实现捆绑在一起并且在 Ubuntu 中是一个单独包的程序是 Python 3 的 IDLE 集成开发环境 ( idle3 )。我自己不使用 IDLE。我更喜欢 Spyder ( spyder3 )。