1.下載python
進(jìn)入官網(wǎng)揽浙,選擇最新版本的安裝包下載。
2.安裝python
安裝過程中需注意:
1.勾上Add Python 3.7 to PATH
2.安裝完整版
安裝成功后盗胀,打開命令提示符窗口,敲入python后,會(huì)出現(xiàn):
安裝成功后的python交互環(huán)境
看到上面的畫面针炉,就說明Python安裝成功!
3.配置阿里云的pip源
在user目錄中創(chuàng)建一個(gè)pip目錄扳抽,如:C:\Users\xx\pip篡帕,新建文件pip.ini。內(nèi)容如下:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
4.在線使用python
可以使用IPython的web ide摔蓝。
地址:https://www.pythonanywhere.com/try-ipython/