Simple use and description of the Python Package management tool PIP

Source: Internet
Author: User

In the learning of Python crawler need to use a builtwith module, but I found in the import of the module, you need to download the module, there is a good tool called Pip, which is the Python software package management tool, can install, uninstall, update the package. Let's take a look at this tool

1: Download and install Pip

[Email protected] love]# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5= 834B2904F92D46AAA333267FB1C922BB "--no-check-certificate[[email protected" love]# tar-zxf Pip-1.5.4.tar.gz[[email Protected] love]# CD Pip-1.5.4[[email protected] love]# python setup.py install

2: Download Builtwith package with PIP

[[Email protected] love]# pip install Builtwith

Usage:

Pip <command> [Options]

The bottom is obtained by [[email protected] love]# pip--help

Commands:
Install install packages.
Uninstall Uninstall packages.
Freeze Output installed packages in requirements format.
List List installed packages.
Show show information about installed packages.
Search Search PyPI for packages.
Wheel Build wheels from your requirements.
Zip DEPRECATED. Zip individual packages.
Unzip DEPRECATED. Unzip individual packages.
Bundle DEPRECATED. Create Pybundles.
Help Show Help for commands.

General Options:
-H,--help Show help.
-V,--verbose Give more output. Option is additive, and can being used up
to 3 times.
-V,--version Show version and exit.
-Q,--quiet Give less output.
--log-file <path> Path to a verbose non-appending log, that's only logs
Failures. This log was active by the default at
/root/.pip/pip.log.
--log <path> Path to a verbose appending log. This log was inactive by
Default.
--proxy <proxy> Specify a proxy in the form
[User:[email Protected]]proxy.server:port.
--timeout <sec> Set The socket timeout (default seconds).
--exists-action <action> Default Action when a path already exists: (s) witch,
(i) Gnore, (W) Ipe, (b) ackup.
--cert <path> Path to alternate CA bundle

This article is from the "Court of the Odd Tree" blog, please be sure to keep this source http://zhangdl.blog.51cto.com/11050780/1872702

Simple use and description of the Python Package management tool PIP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.