certificate verify failed: unable to get local issuer certificate

比較常發生在Mac OS,解決方式:

  1. 打開Finder,應用程式 -> Python 對應版本資料夾
  2. 裡面有一個Install Certificates.command 點擊兩下進行安裝

重新開啟VS Code試試。

 219 total views,  1 views today