Try   HackMD

安裝Python [🔰初學者向]

下載Python

  1. 搜尋python

  2. 進入Python主頁 看到斗大的Download讓人很想按下去,但先等等
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


  3. 選擇版本 通常不會建議安裝最新版的,某些你想用的套件可能還沒支援之類的種種原因,推薦選擇最新版的上一個版本就可以了
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


    這個時候你會發現有很多選項,讓人不知道要下載哪一個,其實就是看你的電腦是哪一種,筆者目前是使用Windows 64位元的的電腦,所以毫無懸念就是要選Windows x86-64的選項
    但是這個選項有三種檔案可以做選擇,這裡選擇下載executable installer,也就是最常見的那種安裝檔,這裡我也會使用這個檔案作為接下來的示範

開始安裝

  1. 執行剛剛載下來的安裝檔
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


  2. 勾選 "Add Python 3.x to PATH"
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
這步非常重要,要是沒有勾選會變得十分麻煩,剛接觸Python的人請不用思考直接打勾

  1. 接下來選擇"Customize installation",進行自定義安裝,並且在pip這欄打勾,之後會很常用到
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


  2. 之後基本上一路Next即可,至於安裝位置的部分,如果懂怎麼設定的話可以改位置,否則用預設的路徑即可
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


  3. 按下安裝就大功告成啦,這裡有個"Disable path length limit"選項可以留意一下,建議點選喔,至於為什麼請點我
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →