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