【发布时间】:2021-06-27 03:20:36
【问题描述】:
我试图做出一个简单的不和谐,但我得到了这个错误
ClientConnectorCertificateError(aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True[SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certific
这是我的代码
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix='>')
@bot.command()
async def ping(ctx):
await ctx.send('pong')
bot.run('token')
令牌是我的不和谐令牌
我尝试升级 certifi 和 discord.py 并在 discord.pys github repo 中搜索堆栈溢出和问题页面
请帮忙
谢谢
【问题讨论】:
-
几乎没有任何信息很难找出问题所在。您能否编辑您的问题以包含相关代码 sn-ps 和您收到的确切错误消息?
-
你使用的是什么操作系统?
-
什么是anaconda和conda
-
我在 mac os 上。
标签: discord.py