简体   繁体   English

“SSL:CERTIFICATE_VERIFY_FAILED”Mac 上的错误

[英]“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.

相关问题 Windows上的SSL:CERTIFICATE_VERIFY_FAILED错误 - SSL: CERTIFICATE_VERIFY_FAILED error on windows Python SSL错误CERTIFICATE_VERIFY_FAILED - Python SSL error CERTIFICATE_VERIFY_FAILED urllib 和“SSL:CERTIFICATE_VERIFY_FAILED”错误 - urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error 无法通过 PyPi Mac 安装软件包 - 连接错误:[SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败 (_ssl.c:598) - Failure to install packages via PyPi Mac - connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598) 错误:Errno 套接字错误] [SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败 (_ssl.c:727) - Error: Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) Wolfram Alpha Python:SSL:CERTIFICATE_VERIFY_FAILED错误 - Wolfram Alpha Python: SSL: CERTIFICATE_VERIFY_FAILED error 使用 PIP 时出现“SSL:CERTIFICATE_VERIFY_FAILED”错误 - "SSL: CERTIFICATE_VERIFY_FAILED" error while using PIP 我的电报漫游器中出现“ SSL:CERTIFICATE_VERIFY_FAILED”错误 - “SSL: CERTIFICATE_VERIFY_FAILED” error in my telegram bot Python点安装错误[SSL:CERTIFICATE_VERIFY_FAILED] - Python pip install error [SSL: CERTIFICATE_VERIFY_FAILED] SSL: CERTIFICATE_VERIFY_FAILED 错误与 macOS 10.15 上的 python3 - SSL: CERTIFICATE_VERIFY_FAILED error with python3 on macOS 10.15
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM