Origin
This period of time busy for friends, busy for a long time, wood has been blogging for a long time. Did two things between, one is the mail automatic sending script, one is the data processing software. Among them, when doing data processing software used to the non-Python system library, is two third-party library, Pandas and numpy, in fact, pandas contains numpy, a beginning does not understand, and later found that the source installed NumPy after installation pandas always installed not up, Went to check the next, then the NumPy Uninstall, and then a Python package manager to do third-party package management, download this series of third-party package. Unfortunately, now there is just time, right here also to introduce you to this package manager.
Pip is currently the most popular Python package management tool and is used as a substitute for easy_install, but there is still a lot of functionality built on Setuptools.
Installation
Official website Installation Introduction: https://pip.pypa.io/en/latest/installing/
Introduction of the official website is very detailed, my side again to use the old version of the way to install a bit ~
I am here to describe the installation of Python Pip under CentOS, in order to maintain the universality of the platform, I use the source code to install PIP.
CD to the directory where you want to download the PIP, personal suggestions
# CD /USR/LOCAL/SRC
#wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
# TAR-XZVF pip-1.5.4.tar.gz# cd pip-1.5.4# python setup.py install
How do I install it? I'm also a person who is easy to figure out
Use the following command in CentOS to install
#python-m pip install--upgrade pip
Or
#yum Install Python-pip
Yes, see what you like.
Use
Pip installs a third-party package
# pip Install Somepackage
List installed Packages
# PIP List
View the installed package details
# pip Show--files somepackage
PIP Upgrade Package
# pip Install--upgrade somepackage
PIP Offload Package
Pip Uninstall Somepackage
OK, so far, Python's Package manager Pip is finished, indeed, very short, but, very useful ha ~