1.安装python 官网下载https://www.python.org/downloads/
2.下载get-pip.py,命名为get-pip.py。
get-pip.py下载链接:https://bootstrap.pypa.io/get-pip.py
3.在终端上执行命令语句:
(1)curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
(2)python3 get-pip.py
(3)检查pip是否成功安装:pip -V
4.pip3 install requests(安装想要的库)