by Devin Yang

建立於: 3年前 ( 更新: 3年前 )

執行時出錯了
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 853, in _create
    self.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

During handling of the above exception, another exception occurred:
一、目前我使用的是Python 3.7,所以進入目錄中
cd /Applications/Python\ 3.7/
二、執行
./Install\ Certificates.comman

實際操作畫面,執行再跑程式,就正常囉..:p

Tags: python

Devin Yang

文章內容無法一一說明,如果您有什麼不了解處,歡迎提問哦:)

No Comment

Post your comment

需要登入才可留言!

類似的文章


python

用python執行系統命令

我如何用Pyhton執行系統命令,這裡有個簡單的範例

python

python fastapi速查筆記

簡單記錄執行fastapi的安裝步驟

python

簡單測試python-thread功能及參數

記錄,如何使用thread執行功能