Python urllib.error certificate verify failed(_ssl.c:749)

python3.9版本,使用easy_install3.9 安装frida.egg的包时报错了

sudo easy_install-3.9 /Users/billanderson/Downloads/frida-14.2.18-py3.8-win-amd64.egg

错误如下:

error: Setup script exited with error: 

原因:原来是python3后,url请求需要进行ssl验证。

解决:

进入应用Python 3.9的目录,双击Install Certificates.command 进行安装,完毕可以解决该问题。
--- 如何找到【Install Certificates.command】目录?
打开finder , 使用搜索功能。有可能搜到多个,查看其目录是python3下的,安装这个。

image.png

参考文章:
https://blog.yuccn.net/archives/625.html?unapproved=179&moderation-hash=54faafa8872ab7c62ad6c518653df4ac#comment-179

https://www.jianshu.com/p/49b74f6c6b69

你可能感兴趣的:(Python urllib.error certificate verify failed(_ssl.c:749))