本文記錄了python 3.7.0 安裝配置方法,供大家參考,具體內(nèi)容如下
S1 登入Python官網(wǎng)下載網(wǎng)址
S2 下載后綴為exe的可執(zhí)行文件,并根據(jù)自己電腦/主機(jī)的系統(tǒng)選擇32位還是64位。
雙擊選擇“Python for Windows”(網(wǎng)址)
出現(xiàn)選擇下載頁面
(1)Download:windows x86為32位,windows x86-64為64位;
(2)
A.在線安裝,即執(zhí)行安裝后才透過網(wǎng)絡(luò)下載python: Download Windows x86-64 web-based installer
B.exe程序安裝: Download Windows x86-64 executable installer
C.壓縮文件解壓縮安裝: Download Windows x86-64 embeddable zip file
一般用戶選擇exe程序安裝
S3
下載exe后,選中Customize installaion(自定義安裝), 并勾上add python to Path (Python 3.7添加到路徑)選項(xiàng),意思是把Python的安裝路徑添加到系統(tǒng)環(huán)境變量的Path變量中。
Optional Features可選特性頁面
1.Documentation文檔
2.pip 皮普
Installs pip,which can download and install other Python packages. 安裝脈沖,可以下載并安裝其他Python包。
3.tcl/tk and IDLE tcl / tk和閑置
4.Python test suite Python測試套件
Advanced Options高級選項(xiàng)頁面
1.Install for all users安裝所有用戶
2.Associate files with Python (requires the py launcher)將文件與Python(需要py發(fā)射器)
3.Create shortcuts for installed applications為已安裝的應(yīng)用程序創(chuàng)建快捷方式
4.Add Python to environment variables添加Python環(huán)境變量
5.Precompile standard library預(yù)編譯標(biāo)準(zhǔn)庫
6.Download debugging symbols下載調(diào)試符號
7.Download debug binaries(requires VS 2015 or later)下載調(diào)試二進(jìn)制文件(需要VS 2015或更高版本)
然后建議選擇自定義路徑進(jìn)行安裝 。
建議最好在下頁面選擇第一項(xiàng)“Install for all users”以及第5項(xiàng)“Precompile standard llibrary”,但不選擇估計(jì)也無大礙。
正在安裝界面如下
S4 安裝成功后界面如下
S5 Python界面
S6 安裝測試
A.搜索輸入“cmd”或者 “win +R”輸入cmd 進(jìn)入命令窗口 ,輸入 “python -V”并回車。
新聞熱點(diǎn)
疑難解答
圖片精選