久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='pMUXZ'><style id='pMUXZ'><dir id='pMUXZ'><q id='pMUXZ'></q></dir></style></legend>

      <i id='pMUXZ'><tr id='pMUXZ'><dt id='pMUXZ'><q id='pMUXZ'><span id='pMUXZ'><b id='pMUXZ'><form id='pMUXZ'><ins id='pMUXZ'></ins><ul id='pMUXZ'></ul><sub id='pMUXZ'></sub></form><legend id='pMUXZ'></legend><bdo id='pMUXZ'><pre id='pMUXZ'><center id='pMUXZ'></center></pre></bdo></b><th id='pMUXZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pMUXZ'><tfoot id='pMUXZ'></tfoot><dl id='pMUXZ'><fieldset id='pMUXZ'></fieldset></dl></div>

      1. <tfoot id='pMUXZ'></tfoot>
        • <bdo id='pMUXZ'></bdo><ul id='pMUXZ'></ul>

        <small id='pMUXZ'></small><noframes id='pMUXZ'>

        SSL:CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本

        SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108) Discord/python(SSL:CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本地頒發者證書 (_ssl.c:1108) Discord/python)
          <tfoot id='73N6R'></tfoot>
          1. <legend id='73N6R'><style id='73N6R'><dir id='73N6R'><q id='73N6R'></q></dir></style></legend>

              <small id='73N6R'></small><noframes id='73N6R'>

              <i id='73N6R'><tr id='73N6R'><dt id='73N6R'><q id='73N6R'><span id='73N6R'><b id='73N6R'><form id='73N6R'><ins id='73N6R'></ins><ul id='73N6R'></ul><sub id='73N6R'></sub></form><legend id='73N6R'></legend><bdo id='73N6R'><pre id='73N6R'><center id='73N6R'></center></pre></bdo></b><th id='73N6R'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='73N6R'><tfoot id='73N6R'></tfoot><dl id='73N6R'><fieldset id='73N6R'></fieldset></dl></div>
                <tbody id='73N6R'></tbody>
                <bdo id='73N6R'></bdo><ul id='73N6R'></ul>
                  本文介紹了SSL:CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本地頒發者證書 (_ssl.c:1108) Discord/python的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 Pycharm 和 python 3.8 以及最新版本的不和諧.我試圖運行這個腳本,但得到了這個錯誤.任何人都可以幫忙嗎?

                  I'm using Pycharm and python 3.8 and latest version of discord. I tried to run this script but got this error. Can anyone help?

                  import discord
                  
                  TOKEN = 'xxxxx'
                  
                  client = discord.Client()
                  
                  @client.event
                  async def on_message(message):
                      # we do not want the bot to reply to itself
                      if message.author == client.user:
                          return
                  
                      if message.content.startswith('!hello'):
                          msg = 'Hello {0.author.mention}'.format(message)
                          await client.send_message(message.channel, msg)
                  
                  @client.event
                  async def on_ready():
                      print('Logged in as')
                      print(client.user.name)
                      print(client.user.id)
                      print('------')
                  
                  client.run(TOKEN)
                  

                  ----- 下面錯誤-------

                  ------ error below -------

                  /Users/mellie/PycharmProjects/Dominations/venv/bin/python/Users/mellie/PycharmProjects/Dominations/Domi.py Traceback(大多數最近通話最后):文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 936 行,在 _wrap_create_connectionreturn await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py",第 1042 行,在 create_connection 中傳輸,協議=等待self._create_connection_transport(文件"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py",第 1072 行,在 _create_connection_transport 中等待服務員文件/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/sslproto.py",第 529 行,在 data_received 中ssldata,appdata = self._sslpipe.feed_ssldata(數據)文件/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/sslproto.py",第 189 行,在 feed_ssldata 中self._sslobj.do_handshake() 文件/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py",第 944 行,在 do_handshake 中self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本地頒發者證書 (_ssl.c:1108)

                  /Users/mellie/PycharmProjects/Dominations/venv/bin/python /Users/mellie/PycharmProjects/Dominations/Domi.py Traceback (most recent call last): File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1042, in create_connection transport, protocol = await self._create_connection_transport( File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1072, in _create_connection_transport await waiter File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/sslproto.py", line 529, in data_received ssldata, appdata = self._sslpipe.feed_ssldata(data) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/sslproto.py", line 189, in feed_ssldata self._sslobj.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 944, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

                  上述異常是以下異常的直接原因:

                  The above exception was the direct cause of the following exception:

                  Traceback(最近一次調用最后一次):文件/Users/mellie/PycharmProjects/Dominations/Domi.py",第 24 行,在client.run(TOKEN) 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py",第 640 行,運行中返回 future.result() 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py",第 621 行,在亞軍中等待 self.start(*args, **kwargs) 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py",第 584 行,開始等待 self.login(*args, bot=bot) 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py",第 442 行,登錄等待self.http.static_login(token.strip(),bot = bot)文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/http.py",第 256 行,在 static_login 中數據 = 等待 self.request(Route('GET', '/users/@me')) 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/http.py",第 160 行,應要求提供async with self.session.request(method, url, **kwargs) as r: File/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/client.py",第 1012 行,在 __aenterself._resp = 等待 self._coro 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/client.py",第 480 行,在 _request 中conn =等待self._connector.connect(文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 523 行,連接中proto = await self._create_connection(req, traces, timeout) 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 858 行,在 _create_connection 中_,原型 = 等待 self._create_direct_connection(文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 1004 行,在 _create_direct_connection提出 last_exc 文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 980 行,在 _create_direct_connection 中傳輸,原型 = 等待 self._wrap_create_connection(文件/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py",第 938 行,在 _wrap_create_connection引發 ClientConnectorCertificateError(aiohttp.client_exceptions.ClientConnectorCertificateError:不能連接到主機 discordapp.com:443 ssl:True [SSLCertVerificationError:(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本地頒發者證書 (_ssl.c:1108)')]

                  Traceback (most recent call last): File "/Users/mellie/PycharmProjects/Dominations/Domi.py", line 24, in client.run(TOKEN) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py", line 640, in run return future.result() File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py", line 621, in runner await self.start(*args, **kwargs) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py", line 584, in start await self.login(*args, bot=bot) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/client.py", line 442, in login await self.http.static_login(token.strip(), bot=bot) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/http.py", line 256, in static_login data = await self.request(Route('GET', '/users/@me')) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/discord/http.py", line 160, in request async with self.session.request(method, url, **kwargs) as r: File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter self._resp = await self._coro File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/client.py", line 480, in _request conn = await self._connector.connect( File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 523, in connect proto = await self._create_connection(req, traces, timeout) File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 858, in _create_connection _, proto = await self._create_direct_connection( File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection raise last_exc File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 980, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "/Users/mellie/PycharmProjects/Dominations/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 938, in _wrap_create_connection raise ClientConnectorCertificateError( aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')]

                  進程以退出代碼 1 結束

                  Process finished with exit code 1

                  推薦答案

                  這個github問題這里.說:

                  This github issue here. Says:

                  基本上導航到您的 Applications/Python 3.6/文件夾并加倍單擊 Install Certificates.command.

                  Basically navigate to your Applications/Python 3.6/ folder and double click the Install Certificates.command.

                  嘗試在 3.6 上運行相同的程序并運行安裝證書命令.這可能會解決您的問題

                  Try running this same program on 3.6 and run the install certificates command. This is likely to solve your issue

                  這篇關于SSL:CERTIFICATE_VERIFY_FAILED] 證書驗證失敗:無法獲取本地頒發者證書 (_ssl.c:1108) Discord/python的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                  Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                  How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                  Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                  How to refresh sys.path?(如何刷新 sys.path?)
                  Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)

                  <small id='TpzWt'></small><noframes id='TpzWt'>

                    <tbody id='TpzWt'></tbody>
                • <legend id='TpzWt'><style id='TpzWt'><dir id='TpzWt'><q id='TpzWt'></q></dir></style></legend>

                    • <bdo id='TpzWt'></bdo><ul id='TpzWt'></ul>
                            <tfoot id='TpzWt'></tfoot>
                            <i id='TpzWt'><tr id='TpzWt'><dt id='TpzWt'><q id='TpzWt'><span id='TpzWt'><b id='TpzWt'><form id='TpzWt'><ins id='TpzWt'></ins><ul id='TpzWt'></ul><sub id='TpzWt'></sub></form><legend id='TpzWt'></legend><bdo id='TpzWt'><pre id='TpzWt'><center id='TpzWt'></center></pre></bdo></b><th id='TpzWt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='TpzWt'><tfoot id='TpzWt'></tfoot><dl id='TpzWt'><fieldset id='TpzWt'></fieldset></dl></div>

                          1. 主站蜘蛛池模板: 国产精品99久久久久久久vr | 91精品国产综合久久婷婷香蕉 | 日韩羞羞| 国产在线1区| 亚洲精品久久久蜜桃 | 午夜一区二区三区 | 久久99精品久久久久久国产越南 | 国产激情毛片 | 国产精品一区二区久久久久 | 日本免费黄色 | 日本91av视频 | 91电影在线播放 | 日韩中文字幕一区 | 视频一区二区在线观看 | 久草综合在线视频 | 91在线视频免费观看 | av手机免费在线观看 | 国产亚洲精品久久yy50 | www国产成人免费观看视频,深夜成人网 | 午夜在线| 天天综合网91 | 国产精品性做久久久久久 | 久久69精品久久久久久久电影好 | 久久精点视频 | 亚洲高清久久 | 午夜视频网站 | 99久久婷婷国产综合精品电影 | 四色永久 | 国产日韩久久久久69影院 | 国产成人精品福利 | 亚洲一区视频在线 | 在线观看精品视频网站 | 国产欧美精品一区二区色综合 | 四虎成人av| 成人免费网视频 | 久久久久久黄 | 在线免费黄色小视频 | 激情小视频 | 国产精品九九九 | 久久99精品视频 | 欧美国产一区二区 |