[Python] ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

解决通过官网安装包安装 Python,执行 pip install 时报 ssl 证书验证失败错误:

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

按安装目录下 ReadMe.rtf 中说明双击执行同目录下 Install Certificates.command 文件:

参考资料:https://stackoverflow.com/questions/42098126/mac-osx-python-ssl-sslerror-ssl-certificate-verify-failed-certificate-verify/42098127#42098127