1.去官網下,https://www.python.org/downloads/source/html
2.右鍵解壓縮python
3.打開README.rsthtm
4.在裏面找到命令,大概相似這樣blog
On Unix, Linux, BSD, macOS, and Cygwin::test
./configure
make
make test
sudo make installmake
5.make install失敗參考 https://www.cnblogs.com/jellydong/p/7724169.htmlco