How to install pip on python (error : No such file or directory)

How to install pip on python (error : No such file or directory)

我正在尝试在我的 Mac 上安装 Django,所以我必须在 Python 上安装 pip,我不知道为什么我在互联网上找到的说明不适用于我...

这是我的问题:

sudo easy_install pip

sudo: unable to execute /usr/local/bin/easy_install: No such file or directory

而且我总是得到 "no such file or directory"。

如有任何帮助,我们将不胜感激。

运行 来自 here 的安装脚本,然后重新启动并使用 pip install django 安装。