Python PIP.
PIP -- a nice tool to install python modules. It's a replacement for easy install.
To install the pip tool use:
# yum search pip
python-pip.noarch : Pip installs packages. Python3 packages. An easy_install replacement
python3-pip.noarch : Pip installs packages. Python3 packages. An easy_install replacement
I guess the python-pip is for python 2.x and python3-pip is for python3. The description is just typo. So I installed python-pip.
What version of pip do I have?
# pip-python --version
pip 1.0.2 from /usr/lib/python2.7/site-packages (python 2.7)
Seems fedora uses the old pip version, the latest one is 1.2.1. (http://pypi.python.org/pypi/pip). Will update it later.
What it provides?
# pip-python help
Usage: pip-python COMMAND [OPTIONS]
Options:
--version show program's version number and exit
-h, --help Show help
-E DIR, --environment=DIR
virtualenv environment to run pip in (either give the
interpreter or the environment base directory)
-s, --enable-site-packages
Include site-packages in virtualenv if one is to be
created. Ignored if --environment is not used or the
virtualenv already exists.
-v, --verbose Give more output
-q, --quiet Give less output
--log=FILENAME Log file where a complete (maximum verbosity) record
will be kept
--proxy=PROXY Specify a proxy in the form
user:passwd@proxy.server:port. Note that the
user:password@ is optional and required only if you
are behind an authenticated proxy. If you provide
user@proxy.server:port then you will be prompted for a
password.
--timeout=SECONDS, --default-timeout=SECONDS
Set the socket timeout (default 15 seconds)
Commands available:
bundle: Create pybundles (archives containing multiple packages)
freeze: Output all currently installed packages (exact versions) to stdout
help: Show available commands
install: Install packages
search: Search PyPI
uninstall: Uninstall packages
unzip: Unzip individual packages
zip: Zip individual packages
The most useful commands for me are: search, install, uninstall.
Written by Chao YANG
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Related Tags
#python
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#