Python PIP package installation and simple usage of several packages

Source: Internet
Author: User

1. centos74 installed after the default python2.7.5 but no pip need to install themselves:

Copy from

Https://www.cnblogs.com/rain124/p/6196053.html

Specific commands

1) wget https://pypi.python.org/packages/b8/04/be569e393006fa9a2c10ef72ea33133c2902baa115dd1d4279dae55c3b3b/ Setuptools-36.8.0.zip#md5=3ecaa938a4c95a74dfbcd6340a47c7c5

Download Setup.tools

Unzip Setuptools-36.8.0.zip

Python setup.py Install

Installation

2)

wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/ Pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9

TAR-ZXVF pip-9.0.1.tar.gz

Python setup.py Install

Verify that the installation is complete using PIP

2. Several packages

Pip Install Builtwith

Import Builtwith

Builtwith.parse (' www.163.com ')

Return server information

Pip install Whois

Import whois

Print Whois.whois (' www.163.com ')

Displays some information.

Python PIP package installation and simple usage of several packages

Related Article

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.