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版本