您正在寻找的新功能是最新的——它们在 1.2.1.post1 中,但不在 1.2.1 中,而且您可能正在查看的文档 (http://www.pip-installer. org/en/latest/) 目前适用于 1.2.1.post1。
localhost-2:~ $ pip --version
pip 1.2.1.post1 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.2.1.post1-py2.7.egg (python 2.7)
localhost-2:~ $ pip --help
Usage: pip COMMAND [OPTIONS]
Commands:
bundle Create pybundles (archives containing multiple packages)
freeze Output all currently installed packages (exact versions) to stdout
help Show available commands
install Install packages
list List installed packages (including editables).
search Search PyPI
show Output installed distributions (exact versions, files) to stdout
uninstall Uninstall packages
unzip Unzip individual packages
zip Zip individual packages
如果你想要它们,你可以得到开发版本:
git clone https://github.com/pypa/pip.git