英文:
On running pgxn install -> Getting ERROR: network error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
问题
使用 pip install pgxnclient
安装了 PGXN。
尝试使用 PGXN 客户端安装了 PostgreSQL 扩展 pgxn_utils
:
在运行命令 pgxn install pgxn_utils
时出现了错误:
错误: 网络错误: [SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败: 无法获取本地颁发者证书 (_ssl.c:1129)
英文:
Installed PGXN using pip install pgxnclient
Tried installing the postgres extension pgxn_utils
using PGXN client
On running the command pgxn install pgxn_utils
getting the Error:
ERROR: network error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
答案1
得分: 0
一个对我有效的答案是,似乎我尚未在我的 Mac 上安装 Python 证书,所以我从以下路径前往并安装了它
/Applications/Python 3.11/Install Certificates.command
只需更改你的 Python 版本,之后一切都对我正常工作了。
英文:
An answer that worked for me, it appears i had not yet installed the python certificates on my mac, so from the following path i went and installed it
/Applications/Python 3.11/Install Certificates.command
Only change the version of your python, after that everything, worked fine for me
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论