1.安裝python:下載網址https://www.python.org/。
2. 下載安裝到默認/指定路徑位置:配置環境變量。如:C:\Users\princ\AppData\Local\Programs\Python\Python37。
3. 查詢python是否安裝成功:輸入指令cmd->python。
4. 查詢python安裝的位置:輸入指令where python。
5. 查詢是否安裝pip:Python3以上,安裝的適合,默認帶安裝pip。查看:C:\Users\princ\AppData\Local\Programs\Python\Python37\Scripts下
6. 通過pip安裝第三方模塊:進入C:\Users\princ\AppData\Local\Programs\Python\Python37\Scripts的命令行。輸入pip/pip3查看是否安裝成功pip/pip3。
安裝成功pip/pip3後,即可安裝第三方模塊:如pip/pip3 install request。