1.pip:“A tool for installing and managing Python packages.”,也就是说pip是python的软件安装工具
2.安装
1.Linux和Mac都自带了Python2.x,可命令行输入Python简单的查看版本信息
2.运行wget https://bootstrap.pypa.io/get-pip.py
3.如果提示:-bash: wget: command not found
1. 执行yum -y install wget安装wget
4.python get-pip.py(如果报没有权限,则sudo python get-pip.py,然后输入密码)
5.最后安装成功会提示Successfully installed pip-19.0.3 setuptools-41.0.0 wheel-0.33.1
6.执行pip -V(V大写)查看版本信息
7.总结,就一下三条命令
$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py
$ pip -V #查看pip版本