[英]“SSL: CERTIFICATE_VERIFY_FAILED” Error on mac
I had wanted to solve the [SSL: CERTIFICATE_VERIFY_FAILED] problem, because i use mac and python 3,a lot of guys said i should run /Applications/Python\\ 3.6/Install\\ Certificates.command我本来想解决 [SSL: CERTIFICATE_VERIFY_FAILED] 问题,因为我使用 mac 和 python 3,很多人说我应该运行 /Applications/Python\\3.6/Install\\Certificates.command
but after i run the certificates.command, i seemed not work, terminal told me a lot of errors但是在我运行了certificates.command之后,我似乎没有工作,终端告诉我很多错误
and the problem of [SSL: CERTIFICATE_VERIFY_FAILED] isn't solved, i suspect maybe certificates wasn't installed properly并且 [SSL: CERTIFICATE_VERIFY_FAILED] 的问题没有解决,我怀疑证书可能没有正确安装
but i check pip list, certifi is the newest type, who can help me?但是我查看了 pip list,certifi 是最新的类型,谁能帮帮我?
terminal information is:终端信息为:
Traceback (most recent call last):
File "<stdin>", line 44, in <module>
File "<stdin>", line 25, in main
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6', '-E', '-s', '-m', 'pip', 'install', '--upgrade', 'certifi']' returned non-zero exit status 1.
my original programs is:我原来的程序是:
import pandas as pd
states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states')
print(states)
Today I have installed Python3.8.3 and frida-tools, and I think I just had met the same problem.今天我已经安装了Python3.8.3和frida-tools,我想我也遇到了同样的问题。
[Problem] After I installed Python3.8.3 by double click the installer python**.pkg, when I tried 'pip install frida-tools", it went "command not found: pip". Then I tried "pip3.8 install frida-tools", it went "ERROR: Command errored out with exit status 1: ***** error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>" [问题] 双击安装程序python**.pkg安装Python3.8.3后,当我尝试“pip install frida-tools”时,它显示“command not found: pip”。然后我尝试了“pip3.8 install frida” -tools”,它变成了“错误:命令出错,退出状态 1:***** 错误:<urlopen 错误 [SSL:CERTIFICATE_VERIFY_FAILED] 证书验证失败:无法获得本地颁发者证书 (_ssl.c:1108)> ”
[How to solve] Open finder, go to /applications/python */, double click the shell "Install Certificates.command" 【如何解决】打开finder,进入/applications/python */,双击shell“Install Certificates.command”
[Result] After that I have install frida-tools normally by "pip install frida-tools" [结果] 之后我通过“pip install frida-tools”正常安装了frida-tools
I hope this can help you.我希望这可以帮助你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.